#21438E#21438E
#21438E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.131 H 263.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #21438E |
|---|---|
| RGB | rgb(33, 67, 142) |
| HSL | hsl(221, 62%, 34%) |
| HSV | hsv(221, 77%, 56%) |
| CMYK | cmyk(76.8%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.13, 15.76, -45.18) |
| CIE-LCH | lch(30.13, 47.85, 289.23°) |
| OKLab | oklab(40.32% -0.0151 -0.13) |
| OKLCH | oklch(40.32% 0.131 263.4) |
| XYZ | xyz(7.5151, 6.2898, 26.4039) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.01
Darkish Blue
#014182
ΔE00 3.48
Cobalt
#0047AB
ΔE00 4.08
Twilight Blue
#0A437A
ΔE00 4.47
Dusk Blue
#26538D
ΔE00 5.75
Prussian Blue
#004577
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21438E #8E6C21
analogous
#217A8E #21438E #35218E
triadic
#21438E #8E2143 #438E21
tetradic
#21438E #8E217A #8E6C21 #218E35
square
#21438E #8E217A #8E6C21 #218E35
split-complementary
#21438E #8E3521 #7A8E21
monochromatic
#0A142B #152C5C #21438E #2D5AC0 #527CD7
Accessibility & contrast
On white
9.30
#21438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#21438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21438E
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21438E | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21438e; /* rgb */ color: rgb(33, 67, 142); /* oklch */ color: oklch(40.3% 0.131 263.4);
Tailwind
colors: {
custom: {
50: '#6d76b0',
500: '#21438e',
950: '#000000',
},
}SCSS
$custom: #21438e; $custom-light: #6d76b0; $custom-dark: #000000;
JSON
{
"hex": "#21438e",
"rgb": {
"r": 33,
"g": 67,
"b": 142
},
"hsl": {
"h": 221.284,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.40317,
"c": 0.13088,
"h": 263.4
},
"luminance": 0.06291
}Semantic roles & 50–950 ramp
primary
#21438E
secondary
#BA9950
accent
#B342E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F