#228DAF#228DAF
#228DAF is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.1% C 0.104 H 224.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #228DAF |
|---|---|
| RGB | rgb(34, 141, 175) |
| HSL | hsl(194, 67%, 41%) |
| HSV | hsv(194, 81%, 69%) |
| CMYK | cmyk(80.6%, 19.4%, 0%, 31.4%) |
| CIE-LAB | lab(54.54, -17.33, -26.19) |
| CIE-LCH | lch(54.54, 31.40, 236.50°) |
| OKLab | oklab(60.08% -0.0741 -0.0735) |
| OKLCH | oklch(60.08% 0.104 224.8) |
| XYZ | xyz(17.9192, 22.4828, 43.9443) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.53
Teal Blue
#01889F
ΔE00 4.94
Cerulean
#007BA7
ΔE00 7.44
Ocean
#017B92
ΔE00 8.03
Dusty Blue
#5A86AD
ΔE00 8.97
Steel Blue
#4682B4
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228DAF #AF4422
analogous
#22AF8A #228DAF #2246AF
triadic
#228DAF #AF228D #8DAF22
tetradic
#228DAF #8A22AF #AF4422 #46AF22
square
#228DAF #8A22AF #AF4422 #46AF22
split-complementary
#228DAF #AF2246 #AF8A22
monochromatic
#0E3A49 #18647C #228DAF #36B1D8 #69C5E2
Accessibility & contrast
On white
3.82
#228DAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#228DAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228DAF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228DAF | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8AB1
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #228daf; /* rgb */ color: rgb(34, 141, 175); /* oklch */ color: oklch(60.1% 0.104 224.8);
Tailwind
colors: {
custom: {
50: '#75aec7',
500: '#228daf',
950: '#000000',
},
}SCSS
$custom: #228daf; $custom-light: #75aec7; $custom-dark: #000000;
JSON
{
"hex": "#228daf",
"rgb": {
"r": 34,
"g": 141,
"b": 175
},
"hsl": {
"h": 194.468,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.60083,
"c": 0.10438,
"h": 224.8
},
"luminance": 0.22485
}Semantic roles & 50–950 ramp
primary
#228DAF
secondary
#C87D65
accent
#673DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82