#228AAA#228AAA
#228AAA is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.1% C 0.101 H 223.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #228AAA |
|---|---|
| RGB | rgb(34, 138, 170) |
| HSL | hsl(194, 67%, 40%) |
| HSV | hsv(194, 80%, 67%) |
| CMYK | cmyk(80%, 18.8%, 0%, 33.3%) |
| CIE-LAB | lab(53.40, -17.43, -25.07) |
| CIE-LCH | lch(53.40, 30.53, 235.18°) |
| OKLab | oklab(59.11% -0.0731 -0.0703) |
| OKLCH | oklch(59.11% 0.101 223.9) |
| XYZ | xyz(17.0008, 21.4172, 41.2603) |
| Luminance | 0.2142 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.65
Teal Blue
#01889F
ΔE00 4.08
Cerulean
#007BA7
ΔE00 6.81
Ocean
#017B92
ΔE00 6.81
Sea Blue
#047495
ΔE00 8.33
Stormy Blue
#507B9C
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228AAA #AA4222
analogous
#22AA86 #228AAA #2246AA
triadic
#228AAA #AA228A #8AAA22
tetradic
#228AAA #8622AA #AA4222 #46AA22
square
#228AAA #8622AA #AA4222 #46AA22
split-complementary
#228AAA #AA2246 #AA8622
monochromatic
#0E3744 #186177 #228AAA #33B0D6 #66C4E0
Accessibility & contrast
On white
3.97
#228AAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#228AAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228AAA
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228AAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228AAA | 1.00 | 3.97 | 5.28 | 5.28 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7887AC
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #228aaa; /* rgb */ color: rgb(34, 138, 170); /* oklch */ color: oklch(59.1% 0.101 223.9);
Tailwind
colors: {
custom: {
50: '#74acc3',
500: '#228aaa',
950: '#000000',
},
}SCSS
$custom: #228aaa; $custom-light: #74acc3; $custom-dark: #000000;
JSON
{
"hex": "#228aaa",
"rgb": {
"r": 34,
"g": 138,
"b": 170
},
"hsl": {
"h": 194.118,
"s": 66.667,
"l": 40
},
"oklch": {
"l": 0.59107,
"c": 0.10145,
"h": 223.9
},
"luminance": 0.21419
}Semantic roles & 50–950 ramp
primary
#228AAA
secondary
#C67962
accent
#673EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81