#227FB2
Closest named color: Nice Blue (#107AB0). oklch(56.8% 0.114 238.4), rgb(34, 127, 178).
Aa
Black text reads best on this color (4.74:1).
About this color
#227FB2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.114 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.017 away. Black text reads best on it, at 4.74:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.114) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.74:1 |
| White text | 4.42:1 |
Values
| HEX | #227FB2 |
| RGB | rgb(34, 127, 178) |
| HSL | hsl(201, 68%, 42%) |
| OKLCH | oklch(56.8% 0.114 238.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 #227FB2 | 4.42:1 | AA large text | Lc -75.8 | Fine for body text |
| Black text on #227FB2 | 4.74:1 | AA | Lc 33.8 | Non-text elements, placeholder text |
| #227FB2 text on white | 4.42:1 | AA large text | Lc 70.3 | Content text, not long reading |
| #227FB2 text on black | 4.74:1 | AA | Lc -31.4 | 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
#F1F6FA
oklch(97.1% 0.008 241.7)
-
Step 100
100
#E1ECF3
oklch(93.7% 0.015 235.4)
-
Step 200
200
#C9DCEA
oklch(88.5% 0.028 239.7)
-
Step 300
300
#A3C6DF
oklch(80.9% 0.052 239.4)
-
Step 400
400
#6EA8CE
oklch(70.6% 0.082 238.2)
-
Step 500
500
#4492C2
oklch(63.1% 0.105 238.6)
-
Step 600
600 (this color)
#227FB2
oklch(56.8% 0.114 238.4)
-
Step 700
700
#0B6896
oklch(49.2% 0.106 238.5)
-
Step 800
800
#105579
oklch(42.7% 0.087 237.9)
-
Step 900
900
#184662
oklch(37.7% 0.069 239.2)
-
Step 950
950
#0F2939
oklch(26.9% 0.044 238.4)
#227FB2 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) | #677FB4 | 0.062 |
| Deuteranopia (no green cones) | #5372B1 | 0.050 |
| Tritanopia (no blue cones) | #008C91 | 0.074 |
| Achromatopsia (no color) | #787878 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #227FB2
#227FB2
oklch(56.8% 0.114 238.4)
- #A86428
#A86428
oklch(56.9% 0.114 58.3)
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 #227FB2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.017
- Steel Blue #4682B4 ΔE 0.028
- Blue NCS #118AB2 ΔE 0.032
- Windows Blue #3778BF ΔE 0.034
- Cool Blue #4984B8 ΔE 0.035
- Flat Blue #3C73A8 ΔE 0.035
- Cerulean #457B9D ΔE 0.037
- Water Blue #0E87CC ΔE 0.041
Use #227FB2 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.