#25229E
Closest named color: Ultramarine (#2000B1). oklch(36.1% 0.19 272.5), rgb(37, 34, 158).
Aa
White text reads best on this color (11.65:1).
About this color
#25229E is a dark, vivid blue. In OKLCH its lightness is 36%, its chroma 0.190 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Ultramarine (#2000B1), ΔE 0.042 away. White text reads best on it, at 11.65:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | vivid (0.190) |
| Temperature | cool |
| Nearest name | Ultramarine (#2000B1) |
| Black text | 1.80:1 |
| White text | 11.65:1 |
Values
| HEX | #25229E |
| RGB | rgb(37, 34, 158) |
| HSL | hsl(241, 65%, 38%) |
| OKLCH | oklch(36.1% 0.19 272.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 #25229E | 11.65:1 | AAA | Lc -99.5 | Preferred for body text |
| Black text on #25229E | 1.80:1 | Fails | Lc 8.2 | Not readable |
| #25229E text on white | 11.65:1 | AAA | Lc 95.7 | Preferred for body text |
| #25229E text on black | 1.80: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 900.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FF
oklch(93.6% 0.03 273.6)
-
Step 200
200
#CCD8FF
oklch(88.6% 0.055 271.8)
-
Step 300
300
#ABBDFF
oklch(80.9% 0.096 272.3)
-
Step 400
400
#8198FF
oklch(70.7% 0.153 272.5)
-
Step 500
500
#6479FF
oklch(63% 0.199 272.7)
-
Step 600
600
#4C56FF
oklch(55.6% 0.245 272.6)
-
Step 700
700
#3D27FF
oklch(49.1% 0.288 272.5)
-
Step 800
800
#3123D0
oklch(42.6% 0.244 272.6)
-
Step 900
900 (this color)
#25229E
oklch(36.1% 0.19 272.5)
-
Step 950
950
#161A60
oklch(27% 0.121 272.4)
#25229E 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) | #003EA2 | 0.058 |
| Deuteranopia (no green cones) | #00329C | 0.036 |
| Tritanopia (no blue cones) | #00485F | 0.148 |
| Achromatopsia (no color) | #383838 | 0.191 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #25229E
#25229E
oklch(36.1% 0.19 272.5)
- #4B3C00
#4B3C00
oklch(36.2% 0.074 93)
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 #25229E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ultramarine #2000B1 ΔE 0.042
- Royal #0C1793 ΔE 0.043
- Indigo Blue #3A18B1 ΔE 0.044
- Sapphire #2138AB ΔE 0.049
- Cobalt Blue #030AA7 ΔE 0.051
- Imperial Purple #480CA8 ΔE 0.062
- Dark Blue #00008B ΔE 0.079
- True Blue #010FCC ΔE 0.082
Use #25229E 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.