#227FAA
Closest named color: Nice Blue (#107AB0). oklch(56.4% 0.106 233.9), rgb(34, 127, 170).
Aa
Black text reads best on this color (4.68:1).
About this color
#227FAA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.106 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.021 away. Black text reads best on it, at 4.68:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.106) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.68:1 |
| White text | 4.48:1 |
Values
| HEX | #227FAA |
| RGB | rgb(34, 127, 170) |
| HSL | hsl(199, 67%, 40%) |
| OKLCH | oklch(56.4% 0.106 233.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 #227FAA | 4.48:1 | AA large text | Lc -76.2 | Fine for body text |
| Black text on #227FAA | 4.68:1 | AA | Lc 33.3 | Non-text elements, placeholder text |
| #227FAA text on white | 4.48:1 | AA large text | Lc 70.7 | Content text, not long reading |
| #227FAA text on black | 4.68:1 | AA | Lc -30.9 | 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
#E1ECF2
oklch(93.7% 0.014 231.2)
-
Step 200
200
#C9DDE8
oklch(88.6% 0.026 231.7)
-
Step 300
300
#A3C6DB
oklch(80.8% 0.048 234.5)
-
Step 400
400
#6FA9C9
oklch(70.7% 0.076 233.5)
-
Step 500
500
#4593BB
oklch(63.1% 0.097 233.6)
-
Step 600
600 (this color)
#227FAA
oklch(56.4% 0.106 233.9)
-
Step 700
700
#0D6990
oklch(49.1% 0.099 234)
-
Step 800
800
#125675
oklch(42.8% 0.082 233.9)
-
Step 900
900
#18475E
oklch(37.7% 0.064 233.4)
-
Step 950
950
#102A37
oklch(27.1% 0.04 232.6)
#227FAA 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) | #6A7EAC | 0.067 |
| Deuteranopia (no green cones) | #5871A9 | 0.056 |
| Tritanopia (no blue cones) | #008A8E | 0.064 |
| Achromatopsia (no color) | #777777 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #227FAA
#227FAA
oklch(56.4% 0.106 233.9)
- #A56334
#A56334
oklch(56.4% 0.106 54.1)
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 #227FAA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.021
- Cerulean #457B9D ΔE 0.029
- Blue NCS #118AB2 ΔE 0.031
- Steel Blue #4682B4 ΔE 0.033
- Flat Blue #3C73A8 ΔE 0.036
- Teal Blue #01889F ΔE 0.036
- Dull Blue #49759C ΔE 0.038
- Stormy Blue #507B9C ΔE 0.038
Use #227FAA 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.