#20798B#20798B
#20798B is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.4% C 0.084 H 214.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #20798B |
|---|---|
| RGB | rgb(32, 121, 139) |
| HSL | hsl(190, 63%, 34%) |
| HSV | hsv(190, 77%, 55%) |
| CMYK | cmyk(77%, 12.9%, 0%, 45.5%) |
| CIE-LAB | lab(46.77, -19.09, -17.18) |
| CIE-LCH | lch(46.77, 25.69, 221.98°) |
| OKLab | oklab(53.36% -0.0695 -0.0479) |
| OKLCH | oklch(53.36% 0.084 214.6) |
| XYZ | xyz(12.0912, 15.8444, 26.8421) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 1.80
Deep Aqua
#08787F
ΔE00 5.37
Teal Blue
#01889F
ΔE00 5.65
Sea Blue
#047495
ΔE00 5.72
Dirty Blue
#3F829D
ΔE00 6.56
Deep Turquoise
#017374
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20798B #8B3220
analogous
#208B67 #20798B #20448B
triadic
#20798B #8B2079 #798B20
tetradic
#20798B #67208B #8B3220 #448B20
square
#20798B #67208B #8B3220 #448B20
split-complementary
#20798B #8B2044 #8B6720
monochromatic
#092228 #154E59 #20798B #2BA4BD #4FC0D6
Accessibility & contrast
On white
5.04
#20798B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#20798B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20798B
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20798B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20798B | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #20798b; /* rgb */ color: rgb(32, 121, 139); /* oklch */ color: oklch(53.4% 0.084 214.6);
Tailwind
colors: {
custom: {
50: '#6da0ad',
500: '#20798b',
950: '#000000',
},
}SCSS
$custom: #20798b; $custom-light: #6da0ad; $custom-dark: #000000;
JSON
{
"hex": "#20798b",
"rgb": {
"r": 32,
"g": 121,
"b": 139
},
"hsl": {
"h": 190.093,
"s": 62.573,
"l": 33.529
},
"oklch": {
"l": 0.53355,
"c": 0.08439,
"h": 214.6
},
"luminance": 0.15846
}Semantic roles & 50–950 ramp
primary
#20798B
secondary
#BA5F4D
accent
#5E42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F