#29256E
Closest named color: Midnight Blue (#191970). oklch(31.8% 0.122 279.3), rgb(41, 37, 110).
Aa
White text reads best on this color (13.25:1).
About this color
#29256E is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.122 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.040 away. White text reads best on it, at 13.25:1.
| Hue family | Blues |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.122) |
| Temperature | cool |
| Nearest name | Midnight Blue (#191970) |
| Black text | 1.58:1 |
| White text | 13.25:1 |
Values
| HEX | #29256E |
| RGB | rgb(41, 37, 110) |
| HSL | hsl(243, 50%, 29%) |
| OKLCH | oklch(31.8% 0.122 279.3) |
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 #29256E | 13.25:1 | AAA | Lc -102.5 | Preferred for body text |
| Black text on #29256E | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #29256E text on white | 13.25:1 | AAA | Lc 99.2 | Preferred for body text |
| #29256E text on black | 1.58:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E5E8FF
oklch(93.6% 0.031 279.9)
-
Step 200
200
#D1D6FF
oklch(88.5% 0.057 279.7)
-
Step 300
300
#B3BAFF
oklch(80.8% 0.098 279.5)
-
Step 400
400
#8E93FF
oklch(70.6% 0.156 279.6)
-
Step 500
500
#7573FF
oklch(63% 0.202 279.5)
-
Step 600
600
#604DFF
oklch(55.6% 0.25 279.3)
-
Step 700
700
#540CFF
oklch(49.1% 0.294 279.5)
-
Step 800
800
#4314D0
oklch(42.7% 0.248 279.2)
-
Step 900
900
#3621A3
oklch(37.7% 0.193 279.2)
-
Step 950
950 (this color)
#29256E
oklch(31.8% 0.122 279.3)
#29256E 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) | #003370 | 0.049 |
| Deuteranopia (no green cones) | #002D6D | 0.044 |
| Tritanopia (no blue cones) | #003745 | 0.104 |
| Achromatopsia (no color) | #303030 | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #29256E
#29256E
oklch(31.8% 0.122 279.3)
- #3B3300
#3B3300
oklch(32% 0.066 99.7)
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 #29256E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Blue #191970 ΔE 0.040
- Marine #042E60 ΔE 0.051
- Marine Blue #01386A ΔE 0.060
- Prussian Blue #1D3557 ΔE 0.065
- Royal #0C1793 ΔE 0.078
- Dark Indigo #1F0954 ΔE 0.081
- Twilight Blue #0A437A ΔE 0.083
- Royal Purple #4B006E ΔE 0.084
Use #29256E 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.