#228CA7#228CA7
#228CA7 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.5% C 0.099 H 219.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #228CA7 |
|---|---|
| RGB | rgb(34, 140, 167) |
| HSL | hsl(192, 66%, 39%) |
| HSV | hsv(192, 80%, 65%) |
| CMYK | cmyk(79.6%, 16.2%, 0%, 34.5%) |
| CIE-LAB | lab(53.90, -19.54, -22.57) |
| CIE-LCH | lch(53.90, 29.86, 229.11°) |
| OKLab | oklab(59.47% -0.0763 -0.0632) |
| OKLCH | oklch(59.47% 0.099 219.6) |
| XYZ | xyz(17.0099, 21.8842, 39.8793) |
| Luminance | 0.2189 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 2.71
Dirty Blue
#3F829D
ΔE00 4.65
Ocean
#017B92
ΔE00 6.70
Cerulean
#007BA7
ΔE00 8.50
Sea Blue
#047495
ΔE00 9.32
Greyish Blue
#5E819D
ΔE00 10.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228CA7 #A73D22
analogous
#22A77F #228CA7 #224AA7
triadic
#228CA7 #A7228C #8CA722
tetradic
#228CA7 #7F22A7 #A73D22 #4AA722
square
#228CA7 #7F22A7 #A73D22 #4AA722
split-complementary
#228CA7 #A7224A #A77F22
monochromatic
#0D3741 #186174 #228CA7 #31B4D5 #64C6DF
Accessibility & contrast
On white
3.91
#228CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#228CA7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228CA7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228CA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228CA7 | 1.00 | 3.91 | 5.38 | 5.38 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B88A8
Deuteranopia (green-blind)
#6A7BA7
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #228ca7; /* rgb */ color: rgb(34, 140, 167); /* oklch */ color: oklch(59.5% 0.099 219.6);
Tailwind
colors: {
custom: {
50: '#74adc1',
500: '#228ca7',
950: '#000000',
},
}SCSS
$custom: #228ca7; $custom-light: #74adc1; $custom-dark: #000000;
JSON
{
"hex": "#228ca7",
"rgb": {
"r": 34,
"g": 140,
"b": 167
},
"hsl": {
"h": 192.18,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.59469,
"c": 0.09904,
"h": 219.6
},
"luminance": 0.21886
}Semantic roles & 50–950 ramp
primary
#228CA7
secondary
#C57560
accent
#613FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81