#2C4181
Closest named color: Cobalt (#1E488F). oklch(39.4% 0.111 267.5), rgb(44, 65, 129).
Aa
White text reads best on this color (9.63:1).
About this color
#2C4181 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.111 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.029 away. White text reads best on it, at 9.63:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.111) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.18:1 |
| White text | 9.63:1 |
Values
| HEX | #2C4181 |
| RGB | rgb(44, 65, 129) |
| HSL | hsl(225, 49%, 34%) |
| OKLCH | oklch(39.4% 0.111 267.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #2C4181 | 9.63:1 | AAA | Lc -96.3 | Preferred for body text |
| Black text on #2C4181 | 2.18:1 | Fails | Lc 11.9 | Not readable |
| #2C4181 text on white | 9.63:1 | AAA | Lc 92.1 | Preferred for body text |
| #2C4181 text on black | 2.18:1 | Fails | Lc -10.3 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFB
oklch(93.7% 0.024 267.9)
-
Step 200
200
#CCD9F9
oklch(88.6% 0.046 267.9)
-
Step 300
300
#A9BFF7
oklch(80.8% 0.083 267.9)
-
Step 400
400
#7C9CF3
oklch(70.6% 0.133 267.6)
-
Step 500
500
#5C81EF
oklch(63.1% 0.17 267.4)
-
Step 600
600
#4468DE
oklch(55.7% 0.185 267.3)
-
Step 700
700
#3655C0
oklch(49% 0.172 267.4)
-
Step 800
800
#2D469C
oklch(42.6% 0.143 267.7)
-
Step 900
900 (this color)
#2C4181
oklch(39.4% 0.111 267.5)
-
Step 950
950
#172448
oklch(27% 0.069 266.8)
#2C4181 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #204983 | 0.024 |
| Deuteranopia (no green cones) | #0F4180 | 0.026 |
| Tritanopia (no blue cones) | #00505A | 0.095 |
| Achromatopsia (no color) | #454545 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C4181
#2C4181
oklch(39.4% 0.111 267.5)
- #584300
#584300
oklch(39.4% 0.081 88.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2C4181, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.029
- Twilight Blue #0A437A ΔE 0.031
- Light Navy #155084 ΔE 0.044
- Dark Slate Blue #483D8B ΔE 0.045
- Blueberry #464196 ΔE 0.052
- Dusk Blue #26538D ΔE 0.052
- Deep Sea Blue #015482 ΔE 0.058
- Marine Blue #01386A ΔE 0.062
Use #2C4181 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.