#227FA2
Closest named color: Cerulean (#457B9D). oklch(56% 0.099 228.4), rgb(34, 127, 162).
Aa
Black text reads best on this color (4.62:1).
About this color
#227FA2 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 56%, its chroma 0.099 and its hue 228°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.025 away. Black text reads best on it, at 4.62:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Cerulean (#457B9D) |
| Black text | 4.62:1 |
| White text | 4.54:1 |
Values
| HEX | #227FA2 |
| RGB | rgb(34, 127, 162) |
| HSL | hsl(196, 65%, 38%) |
| OKLCH | oklch(56% 0.099 228.4) |
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 #227FA2 | 4.54:1 | AA | Lc -76.6 | Fine for body text |
| Black text on #227FA2 | 4.62:1 | AA | Lc 32.9 | Non-text elements, placeholder text |
| #227FA2 text on white | 4.54:1 | AA | Lc 71.2 | Content text, not long reading |
| #227FA2 text on black | 4.62:1 | AA | Lc -30.5 | Non-text elements, placeholder text |
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 600.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E2ECF1
oklch(93.7% 0.013 228.9)
-
Step 200
200
#C9DDE6
oklch(88.5% 0.025 226.5)
-
Step 300
300
#A4C7D8
oklch(81% 0.044 228.9)
-
Step 400
400
#70AAC4
oklch(70.8% 0.071 228)
-
Step 500
500
#4694B5
oklch(63.1% 0.091 228.5)
-
Step 600
600 (this color)
#227FA2
oklch(56% 0.099 228.4)
-
Step 700
700
#0F6A8A
oklch(49.1% 0.092 228.7)
-
Step 800
800
#135770
oklch(42.8% 0.076 228.1)
-
Step 900
900
#19475A
oklch(37.5% 0.059 228.7)
-
Step 950
950
#102A35
oklch(27% 0.038 228.2)
#227FA2 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) | #6D7DA4 | 0.071 |
| Deuteranopia (no green cones) | #5C71A2 | 0.061 |
| Tritanopia (no blue cones) | #00898B | 0.055 |
| Achromatopsia (no color) | #767676 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #227FA2
#227FA2
oklch(56% 0.099 228.4)
- #A3613E
#A3613E
oklch(55.9% 0.099 47.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 #227FA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean #457B9D ΔE 0.025
- Teal Blue #01889F ΔE 0.029
- Ocean #017B92 ΔE 0.030
- Nice Blue #107AB0 ΔE 0.031
- Blue NCS #118AB2 ΔE 0.035
- Stormy Blue #507B9C ΔE 0.035
- Dull Blue #49759C ΔE 0.037
- Sea Blue #047495 ΔE 0.039
Use #227FA2 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.