#228AA2#228AA2
#228AA2 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.7% C 0.096 H 217.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #228AA2 |
|---|---|
| RGB | rgb(34, 138, 162) |
| HSL | hsl(191, 65%, 38%) |
| HSV | hsv(191, 79%, 64%) |
| CMYK | cmyk(79%, 14.8%, 0%, 36.5%) |
| CIE-LAB | lab(53.08, -20.17, -20.95) |
| CIE-LCH | lch(53.08, 29.08, 226.08°) |
| OKLab | oklab(58.75% -0.0763 -0.0585) |
| OKLCH | oklch(58.75% 0.096 217.5) |
| XYZ | xyz(16.2670, 21.1237, 37.3953) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 1.60
Dirty Blue
#3F829D
ΔE00 4.73
Ocean
#017B92
ΔE00 5.79
Cerulean
#007BA7
ΔE00 8.75
Sea Blue
#047495
ΔE00 8.94
Dark Cyan
#0A888A
ΔE00 9.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228AA2 #A23A22
analogous
#22A27A #228AA2 #224AA2
triadic
#228AA2 #A2228A #8AA222
tetradic
#228AA2 #7A22A2 #A23A22 #4AA222
square
#228AA2 #7A22A2 #A23A22 #4AA222
split-complementary
#228AA2 #A2224A #A27A22
monochromatic
#0D343D #175F6F #228AA2 #2EB4D3 #61C6DE
Accessibility & contrast
On white
4.02
#228AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#228AA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228AA2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228AA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228AA2 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A86A3
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#009292
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #228aa2; /* rgb */ color: rgb(34, 138, 162); /* oklch */ color: oklch(58.7% 0.096 217.5);
Tailwind
colors: {
custom: {
50: '#73acbd',
500: '#228aa2',
950: '#000000',
},
}SCSS
$custom: #228aa2; $custom-light: #73acbd; $custom-dark: #000000;
JSON
{
"hex": "#228aa2",
"rgb": {
"r": 34,
"g": 138,
"b": 162
},
"hsl": {
"h": 191.25,
"s": 65.306,
"l": 38.431
},
"oklch": {
"l": 0.58746,
"c": 0.09621,
"h": 217.5
},
"luminance": 0.21126
}Semantic roles & 50–950 ramp
primary
#228AA2
secondary
#C3705D
accent
#5F40E8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81