#227FA7
Closest named color: Nice Blue (#107AB0). oklch(56.2% 0.103 231.9), rgb(34, 127, 167).
Aa
Black text reads best on this color (4.66:1).
About this color
#227FA7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.103 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.024 away. Black text reads best on it, at 4.66:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.103) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.66:1 |
| White text | 4.50:1 |
Values
| HEX | #227FA7 |
| RGB | rgb(34, 127, 167) |
| HSL | hsl(198, 66%, 39%) |
| OKLCH | oklch(56.2% 0.103 231.9) |
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 #227FA7 | 4.50:1 | AA | Lc -76.4 | Fine for body text |
| Black text on #227FA7 | 4.66:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #227FA7 text on white | 4.50:1 | AA | Lc 70.9 | Content text, not long reading |
| #227FA7 text on black | 4.66:1 | AA | Lc -30.8 | 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
#F1F6F9
oklch(97% 0.007 233.6)
-
Step 100
100
#E1ECF1
oklch(93.6% 0.014 226.6)
-
Step 200
200
#C9DDE7
oklch(88.6% 0.025 229.2)
-
Step 300
300
#A3C7DA
oklch(81% 0.047 231.1)
-
Step 400
400
#70A9C7
oklch(70.7% 0.074 232.2)
-
Step 500
500
#4593B9
oklch(63% 0.095 232.2)
-
Step 600
600 (this color)
#227FA7
oklch(56.2% 0.103 231.9)
-
Step 700
700
#0E698D
oklch(49% 0.096 232)
-
Step 800
800
#125673
oklch(42.7% 0.08 232.1)
-
Step 900
900
#19475D
oklch(37.7% 0.062 232.6)
-
Step 950
950
#102A36
oklch(27.1% 0.039 230.5)
#227FA7 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) | #6B7EA9 | 0.068 |
| Deuteranopia (no green cones) | #5971A6 | 0.057 |
| Tritanopia (no blue cones) | #008A8C | 0.062 |
| Achromatopsia (no color) | #777777 | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #227FA7
#227FA7
oklch(56.2% 0.103 231.9)
- #A46238
#A46238
oklch(56.2% 0.103 51.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 #227FA7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.024
- Cerulean #457B9D ΔE 0.027
- Blue NCS #118AB2 ΔE 0.032
- Teal Blue #01889F ΔE 0.033
- Steel Blue #4682B4 ΔE 0.036
- Ocean #017B92 ΔE 0.037
- Stormy Blue #507B9C ΔE 0.037
- Dull Blue #49759C ΔE 0.037
Use #227FA7 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.