#21397C#21397C
#21397C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.118 H 265.9°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #21397C |
|---|---|
| RGB | rgb(33, 57, 124) |
| HSL | hsl(224, 58%, 31%) |
| HSV | hsv(224, 73%, 49%) |
| CMYK | cmyk(73.4%, 54%, 0%, 51.4%) |
| CIE-LAB | lab(25.87, 15.53, -40.86) |
| CIE-LCH | lch(25.87, 43.71, 290.80°) |
| OKLab | oklab(36.66% -0.0084 -0.1175) |
| OKLCH | oklch(36.66% 0.118 265.9) |
| XYZ | xyz(5.7271, 4.7042, 19.6711) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 4.87
Marine Blue
#01386A
ΔE00 5.01
Marine
#042E60
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 5.55
Twilight Blue
#0A437A
ΔE00 5.72
Blueberry
#464196
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21397C #7C6421
analogous
#21667C #21397C #36217C
triadic
#21397C #7C2139 #397C21
tetradic
#21397C #7C2166 #7C6421 #217C36
square
#21397C #7C2166 #7C6421 #217C36
split-complementary
#21397C #7C3621 #667C21
monochromatic
#070D1B #14234C #21397C #2E4FAC #496CCF
Accessibility & contrast
On white
10.82
#21397C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#21397C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21397C
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21397C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21397C | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D427E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #21397c; /* rgb */ color: rgb(33, 57, 124); /* oklch */ color: oklch(36.7% 0.118 265.9);
Tailwind
colors: {
custom: {
50: '#696ea2',
500: '#21397c',
950: '#000000',
},
}SCSS
$custom: #21397c; $custom-light: #696ea2; $custom-dark: #000000;
JSON
{
"hex": "#21397c",
"rgb": {
"r": 33,
"g": 57,
"b": 124
},
"hsl": {
"h": 224.176,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.36658,
"c": 0.11778,
"h": 265.9
},
"luminance": 0.04705
}Semantic roles & 50–950 ramp
primary
#21397C
secondary
#AF944A
accent
#B847E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F