#225771
Closest named color: Petrol (#005F6A). oklch(43.3% 0.07 233), rgb(34, 87, 113).
Aa
White text reads best on this color (7.86:1).
About this color
#225771 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.070 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.034 away. White text reads best on it, at 7.86:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.070) |
| Temperature | cool |
| Nearest name | Petrol (#005F6A) |
| Black text | 2.66:1 |
| White text | 7.86:1 |
Values
| HEX | #225771 |
| RGB | rgb(34, 87, 113) |
| HSL | hsl(200, 54%, 29%) |
| OKLCH | oklch(43.3% 0.07 233) |
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 #225771 | 7.86:1 | AAA | Lc -91.8 | Preferred for body text |
| Black text on #225771 | 2.66:1 | Fails | Lc 16.9 | Dividers and decoration only |
| #225771 text on white | 7.86:1 | AAA | Lc 87.1 | Fine for body text |
| #225771 text on black | 2.66:1 | Fails | Lc -15.0 | Dividers and decoration only |
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 800.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E2EBF1
oklch(93.5% 0.013 236.6)
-
Step 200
200
#CBDCE6
oklch(88.5% 0.023 233.4)
-
Step 300
300
#A7C6D7
oklch(80.9% 0.041 231.9)
-
Step 400
400
#77A8C3
oklch(70.7% 0.065 233)
-
Step 500
500
#5192B4
oklch(63% 0.084 233.1)
-
Step 600
600
#327CA0
oklch(55.6% 0.091 233)
-
Step 700
700
#246889
oklch(49% 0.085 233.6)
-
Step 800
800 (this color)
#225771
oklch(43.3% 0.07 233)
-
Step 900
900
#20465A
oklch(37.6% 0.055 233.9)
-
Step 950
950
#142935
oklch(26.9% 0.035 235.2)
#225771 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) | #4A5672 | 0.045 |
| Deuteranopia (no green cones) | #3F4E71 | 0.039 |
| Tritanopia (no blue cones) | #005E60 | 0.045 |
| Achromatopsia (no color) | #525252 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #225771
#225771
oklch(43.3% 0.07 233)
- #6F452A
#6F452A
oklch(43.3% 0.071 52.6)
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 #225771, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Petrol #005F6A ΔE 0.034
- Deep Sea Blue #015482 ΔE 0.035
- YInMn Blue #415A77 ΔE 0.037
- Light Navy Blue #2E5A88 ΔE 0.041
- Light Navy #155084 ΔE 0.044
- Deep Teal #00555A ΔE 0.045
- Dusk Blue #26538D ΔE 0.052
- Dark Slate Gray #2F4F4F ΔE 0.055
Use #225771 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.