#2A4578
Closest named color: Twilight Blue (#0A437A). oklch(39.6% 0.093 262), rgb(42, 69, 120).
Aa
White text reads best on this color (9.45:1).
About this color
#2A4578 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.093 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.027 away. White text reads best on it, at 9.45:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.093) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.22:1 |
| White text | 9.45:1 |
Values
| HEX | #2A4578 |
| RGB | rgb(42, 69, 120) |
| HSL | hsl(219, 48%, 32%) |
| OKLCH | oklch(39.6% 0.093 262) |
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 #2A4578 | 9.45:1 | AAA | Lc -96.0 | Preferred for body text |
| Black text on #2A4578 | 2.22:1 | Fails | Lc 12.3 | Not readable |
| #2A4578 text on white | 9.45:1 | AAA | Lc 91.7 | Preferred for body text |
| #2A4578 text on black | 2.22:1 | Fails | Lc -10.7 | 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
#F2F6FC
oklch(97.2% 0.009 258.3)
-
Step 100
100
#E3EAF8
oklch(93.6% 0.02 264.5)
-
Step 200
200
#CBDAF3
oklch(88.5% 0.038 260.7)
-
Step 300
300
#A8C1EE
oklch(80.8% 0.07 262.1)
-
Step 400
400
#7AA0E6
oklch(70.6% 0.111 262.1)
-
Step 500
500
#5887DF
oklch(63.1% 0.143 261.9)
-
Step 600
600
#3E6FCC
oklch(55.6% 0.154 261.8)
-
Step 700
700
#305CB1
oklch(49.1% 0.144 262)
-
Step 800
800
#294C8F
oklch(42.8% 0.118 261.9)
-
Step 900
900 (this color)
#2A4578
oklch(39.6% 0.093 262)
-
Step 950
950
#162643
oklch(27.1% 0.058 261.5)
#2A4578 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) | #2E4A7A | 0.016 |
| Deuteranopia (no green cones) | #234377 | 0.011 |
| Tritanopia (no blue cones) | #005158 | 0.080 |
| Achromatopsia (no color) | #464646 | 0.093 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A4578
#2A4578
oklch(39.6% 0.093 262)
- #5C4100
#5C4100
oklch(39.5% 0.081 81.8)
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 #2A4578, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.027
- Light Navy #155084 ΔE 0.036
- Cobalt #1E488F ΔE 0.039
- Deep Sea Blue #015482 ΔE 0.047
- Dusk Blue #26538D ΔE 0.049
- Dark Grey Blue #29465B ΔE 0.051
- Dark Slate Blue #483D8B ΔE 0.058
- Marine Blue #01386A ΔE 0.060
Use #2A4578 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.