#21438C#21438C
#21438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.128 H 263.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #21438C |
|---|---|
| RGB | rgb(33, 67, 140) |
| HSL | hsl(221, 62%, 34%) |
| HSV | hsv(221, 76%, 55%) |
| CMYK | cmyk(76.4%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(29.99, 14.96, -44.19) |
| CIE-LCH | lch(29.99, 46.65, 288.71°) |
| OKLab | oklab(40.16% -0.0154 -0.1271) |
| OKLCH | oklch(40.16% 0.128 263.1) |
| XYZ | xyz(7.3663, 6.2303, 25.6202) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.95
Darkish Blue
#014182
ΔE00 3.28
Twilight Blue
#0A437A
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.31
Dusk Blue
#26538D
ΔE00 5.69
Prussian Blue
#004577
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21438C #8C6A21
analogous
#21798C #21438C #35218C
triadic
#21438C #8C2143 #438C21
tetradic
#21438C #8C2179 #8C6A21 #218C35
square
#21438C #8C2179 #8C6A21 #218C35
split-complementary
#21438C #8C3521 #798C21
monochromatic
#0A1429 #152B5A #21438C #2D5BBE #517CD6
Accessibility & contrast
On white
9.35
#21438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#21438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21438C
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21438C | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21438c; /* rgb */ color: rgb(33, 67, 140); /* oklch */ color: oklch(40.2% 0.128 263.1);
Tailwind
colors: {
custom: {
50: '#6c76ae',
500: '#21438c',
950: '#000000',
},
}SCSS
$custom: #21438c; $custom-light: #6c76ae; $custom-dark: #000000;
JSON
{
"hex": "#21438c",
"rgb": {
"r": 33,
"g": 67,
"b": 140
},
"hsl": {
"h": 220.935,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.40159,
"c": 0.12801,
"h": 263.1
},
"luminance": 0.06231
}Semantic roles & 50–950 ramp
primary
#21438C
secondary
#B9984F
accent
#B143E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F