#203A6F
Dark Blue
#203A6F is the CSS named color "midnightblue", an exact match. In RGB it breaks down to red 32, green 58, and blue 111 out of 255 each. In HSL terms that's a hue of 220°, 55% saturation, and 28% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.
Every format
| HEX | #203a6f |
| RGB | rgb(32, 58, 111) |
| HSL | hsl(220° 55% 28%) |
| HSB | hsb(220° 71% 44%) |
| OKLCH | oklch(36% 0.097 263°) |
| OKLAB | oklab(36% -0.012 -0.096) |
| LCH | lch(25% 34.7 278°) |
| CMYK | cmyk(71% 48% 0% 56%) |
Shades (darker)
#203a6f · #193266 · #122a5e · #0b2356 · #051b4d
Tints (lighter)
#203a6f · #304c82 · #415e96 · #5371ab · #6584bf
Shades mix #203A6F toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 11.07:1 — AAA
On black: 1.90:1 — fails
Frequently asked
- What is #203A6F in RGB?
- #203A6F is rgb(32, 58, 111) — red 32, green 58, blue 111 out of 255 each.
- Does #203A6F pass WCAG contrast on a white background?
- It has a contrast ratio of 11.07:1 against white, which passes WCAG AAA for normal text.
- What's a good background color to pair with #203A6F?
- White text or a white background gives better contrast (11.07:1) than black (1.90:1).