#227788#227788
#227788 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.8% C 0.082 H 214.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #227788 |
|---|---|
| RGB | rgb(34, 119, 136) |
| HSL | hsl(190, 60%, 33%) |
| HSV | hsv(190, 75%, 53%) |
| CMYK | cmyk(75%, 12.5%, 0%, 46.7%) |
| CIE-LAB | lab(46.06, -18.77, -16.49) |
| CIE-LCH | lch(46.06, 24.98, 221.30°) |
| OKLab | oklab(52.75% -0.0678 -0.0459) |
| OKLCH | oklch(52.75% 0.082 214.1) |
| XYZ | xyz(11.6986, 15.3099, 25.6263) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.42
Deep Aqua
#08787F
ΔE00 5.12
Sea Blue
#047495
ΔE00 5.82
Teal Blue
#01889F
ΔE00 6.44
Dirty Blue
#3F829D
ΔE00 7.13
Deep Turquoise
#017374
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227788 #883322
analogous
#228866 #227788 #224488
triadic
#227788 #882277 #778822
tetradic
#227788 #662288 #883322 #448822
square
#227788 #662288 #883322 #448822
split-complementary
#227788 #882244 #886622
monochromatic
#0A2126 #164C57 #227788 #2EA2B9 #51BED3
Accessibility & contrast
On white
5.17
#227788 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#227788 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227788
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227788 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7389
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #227788; /* rgb */ color: rgb(34, 119, 136); /* oklch */ color: oklch(52.8% 0.082 214.1);
Tailwind
colors: {
custom: {
50: '#6d9eaa',
500: '#227788',
950: '#000000',
},
}SCSS
$custom: #227788; $custom-light: #6d9eaa; $custom-dark: #000000;
JSON
{
"hex": "#227788",
"rgb": {
"r": 34,
"g": 119,
"b": 136
},
"hsl": {
"h": 190,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.52754,
"c": 0.08189,
"h": 214.1
},
"luminance": 0.15311
}Semantic roles & 50–950 ramp
primary
#227788
secondary
#B7604F
accent
#5F45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F