#21367F#21367F
#21367F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.126 H 267.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #21367F |
|---|---|
| RGB | rgb(33, 54, 127) |
| HSL | hsl(227, 59%, 31%) |
| HSV | hsv(227, 74%, 50%) |
| CMYK | cmyk(74%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(25.24, 18.82, -43.78) |
| CIE-LCH | lch(25.24, 47.65, 293.26°) |
| OKLab | oklab(36.25% -0.0055 -0.1261) |
| OKLCH | oklch(36.25% 0.126 267.5) |
| XYZ | xyz(5.7758, 4.4934, 20.6375) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.87
Darkish Blue
#014182
ΔE00 5.91
Marine Blue
#01386A
ΔE00 5.94
Cobalt (survey)
#1E488F
ΔE00 6.45
Sapphire (survey)
#2138AB
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21367F #7F6A21
analogous
#21657F #21367F #3B217F
triadic
#21367F #7F2136 #367F21
tetradic
#21367F #7F2165 #7F6A21 #217F3B
square
#21367F #7F2165 #7F6A21 #217F3B
split-complementary
#21367F #7F3B21 #657F21
monochromatic
#080D1E #14214E #21367F #2E4BB0 #4A68D0
Accessibility & contrast
On white
11.06
#21367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#21367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21367F
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21367F | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #21367f; /* rgb */ color: rgb(33, 54, 127); /* oklch */ color: oklch(36.3% 0.126 267.5);
Tailwind
colors: {
custom: {
50: '#6a6ca5',
500: '#21367f',
950: '#000000',
},
}SCSS
$custom: #21367f; $custom-light: #6a6ca5; $custom-dark: #000000;
JSON
{
"hex": "#21367f",
"rgb": {
"r": 33,
"g": 54,
"b": 127
},
"hsl": {
"h": 226.596,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.36252,
"c": 0.12624,
"h": 267.5
},
"luminance": 0.04494
}Semantic roles & 50–950 ramp
primary
#21367F
secondary
#B29B4A
accent
#BF46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F