#21438F#21438F
#21438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.132 H 263.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #21438F |
|---|---|
| RGB | rgb(33, 67, 143) |
| HSL | hsl(221, 63%, 35%) |
| HSV | hsv(221, 77%, 56%) |
| CMYK | cmyk(76.9%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.21, 16.16, -45.68) |
| CIE-LCH | lch(30.21, 48.45, 289.48°) |
| OKLab | oklab(40.4% -0.015 -0.1315) |
| OKLCH | oklch(40.4% 0.132 263.5) |
| XYZ | xyz(7.5905, 6.3200, 26.8011) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.06
Darkish Blue
#014182
ΔE00 3.59
Cobalt
#0047AB
ΔE00 3.96
Twilight Blue
#0A437A
ΔE00 4.58
Dusk Blue
#26538D
ΔE00 5.79
Prussian Blue
#004577
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21438F #8F6D21
analogous
#217A8F #21438F #36218F
triadic
#21438F #8F2143 #438F21
tetradic
#21438F #8F217A #8F6D21 #218F36
square
#21438F #8F217A #8F6D21 #218F36
split-complementary
#21438F #8F3621 #7A8F21
monochromatic
#0A142C #162C5D #21438F #2C5AC1 #537CD7
Accessibility & contrast
On white
9.27
#21438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#21438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21438F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21438F | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21438f; /* rgb */ color: rgb(33, 67, 143); /* oklch */ color: oklch(40.4% 0.132 263.5);
Tailwind
colors: {
custom: {
50: '#6d76b0',
500: '#21438f',
950: '#000000',
},
}SCSS
$custom: #21438f; $custom-light: #6d76b0; $custom-dark: #000000;
JSON
{
"hex": "#21438f",
"rgb": {
"r": 33,
"g": 67,
"b": 143
},
"hsl": {
"h": 221.455,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.40396,
"c": 0.13232,
"h": 263.5
},
"luminance": 0.06321
}Semantic roles & 50–950 ramp
primary
#21438F
secondary
#BB9A51
accent
#B342E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80