#21799B#21799B
#21799B is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.095 H 229.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #21799B |
|---|---|
| RGB | rgb(33, 121, 155) |
| HSL | hsl(197, 65%, 37%) |
| HSV | hsv(197, 79%, 61%) |
| CMYK | cmyk(78.7%, 21.9%, 0%, 39.2%) |
| CIE-LAB | lab(47.45, -13.39, -25.57) |
| CIE-LCH | lch(47.45, 28.86, 242.36°) |
| OKLab | oklab(54.12% -0.0626 -0.0719) |
| OKLCH | oklch(54.12% 0.095 229) |
| XYZ | xyz(13.3785, 16.3630, 33.4573) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.37
Cerulean
#007BA7
ΔE00 2.65
Ocean Blue (survey)
#03719C
ΔE00 3.99
Dirty Blue
#3F829D
ΔE00 4.36
Ocean
#017B92
ΔE00 5.16
Nice Blue
#107AB0
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21799B #9B4321
analogous
#219B80 #21799B #213C9B
triadic
#21799B #9B2179 #799B21
tetradic
#21799B #80219B #9B4321 #3C9B21
square
#21799B #80219B #9B4321 #3C9B21
split-complementary
#21799B #9B213C #9B8021
monochromatic
#0C2A36 #165269 #21799B #2CA0CD #5AB8DC
Accessibility & contrast
On white
4.91
#21799B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#21799B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21799B
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21799B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21799B | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #21799b; /* rgb */ color: rgb(33, 121, 155); /* oklch */ color: oklch(54.1% 0.095 229.0);
Tailwind
colors: {
custom: {
50: '#709fb8',
500: '#21799b',
950: '#000000',
},
}SCSS
$custom: #21799b; $custom-light: #709fb8; $custom-dark: #000000;
JSON
{
"hex": "#21799b",
"rgb": {
"r": 33,
"g": 121,
"b": 155
},
"hsl": {
"h": 196.721,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.54122,
"c": 0.0953,
"h": 229
},
"luminance": 0.16365
}Semantic roles & 50–950 ramp
primary
#21799B
secondary
#C07558
accent
#6F40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80