#227CA7
Closest named color: Nice Blue (#107AB0). oklch(55.5% 0.105 234.6), rgb(34, 124, 167).
Aa
White text reads best on this color (4.65:1).
About this color
#227CA7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.105 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.018 away. White text reads best on it, at 4.65:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.105) |
| Temperature | cool |
| Nearest name | Nice Blue (#107AB0) |
| Black text | 4.50:1 |
| White text | 4.65:1 |
Values
| HEX | #227CA7 |
| RGB | rgb(34, 124, 167) |
| HSL | hsl(199, 66%, 39%) |
| OKLCH | oklch(55.5% 0.105 234.6) |
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 #227CA7 | 4.65:1 | AA | Lc -77.4 | Fine for body text |
| Black text on #227CA7 | 4.50:1 | AA | Lc 32.1 | Non-text elements, placeholder text |
| #227CA7 text on white | 4.65:1 | AA | Lc 72.0 | Content text, not long reading |
| #227CA7 text on black | 4.50:1 | AA | Lc -29.7 | 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 600.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E2ECF2
oklch(93.7% 0.013 233.7)
-
Step 200
200
#C9DCE8
oklch(88.4% 0.026 235.4)
-
Step 300
300
#A4C6DB
oklch(80.9% 0.047 235.3)
-
Step 400
400
#71A9C9
oklch(70.8% 0.075 234.4)
-
Step 500
500
#4793BB
oklch(63.2% 0.096 234.1)
-
Step 600
600 (this color)
#227CA7
oklch(55.5% 0.105 234.6)
-
Step 700
700
#126990
oklch(49.2% 0.098 234.5)
-
Step 800
800
#145574
oklch(42.5% 0.081 234.6)
-
Step 900
900
#1A475E
oklch(37.8% 0.063 234.2)
-
Step 950
950
#112A37
oklch(27.2% 0.039 233.4)
#227CA7 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) | #677BA9 | 0.064 |
| Deuteranopia (no green cones) | #556FA6 | 0.053 |
| Tritanopia (no blue cones) | #00878B | 0.064 |
| Achromatopsia (no color) | #747474 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #227CA7
#227CA7
oklch(55.5% 0.105 234.6)
- #A26131
#A26131
oklch(55.6% 0.105 54.9)
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 #227CA7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Nice Blue #107AB0 ΔE 0.018
- Cerulean #457B9D ΔE 0.028
- Flat Blue #3C73A8 ΔE 0.030
- Muted Blue #3B719F ΔE 0.033
- Dull Blue #49759C ΔE 0.033
- Ocean #017B92 ΔE 0.036
- Sea Blue #047495 ΔE 0.037
- Ocean Blue #03719C ΔE 0.038
Use #227CA7 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.