#21458F#21458F
#21458F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.130 H 262.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #21458F |
|---|---|
| RGB | rgb(33, 69, 143) |
| HSL | hsl(220, 63%, 35%) |
| HSV | hsv(220, 77%, 56%) |
| CMYK | cmyk(76.9%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(30.79, 14.78, -44.74) |
| CIE-LCH | lch(30.79, 47.11, 288.29°) |
| OKLab | oklab(40.84% -0.0167 -0.1286) |
| OKLCH | oklch(40.84% 0.13 262.6) |
| XYZ | xyz(7.7115, 6.5619, 26.8414) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.33
Darkish Blue
#014182
ΔE00 3.39
Cobalt
#0047AB
ΔE00 3.80
Twilight Blue
#0A437A
ΔE00 4.27
Dusk Blue
#26538D
ΔE00 5.07
Prussian Blue
#004577
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21458F #8F6B21
analogous
#217C8F #21458F #34218F
triadic
#21458F #8F2145 #458F21
tetradic
#21458F #8F217C #8F6B21 #218F34
square
#21458F #8F217C #8F6B21 #218F34
split-complementary
#21458F #8F3421 #7C8F21
monochromatic
#0A152C #162D5D #21458F #2C5DC1 #537ED7
Accessibility & contrast
On white
9.08
#21458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#21458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21458F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21458F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21458f; /* rgb */ color: rgb(33, 69, 143); /* oklch */ color: oklch(40.8% 0.130 262.6);
Tailwind
colors: {
custom: {
50: '#6d78b0',
500: '#21458f',
950: '#000000',
},
}SCSS
$custom: #21458f; $custom-light: #6d78b0; $custom-dark: #000000;
JSON
{
"hex": "#21458f",
"rgb": {
"r": 33,
"g": 69,
"b": 143
},
"hsl": {
"h": 220.364,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.4084,
"c": 0.12973,
"h": 262.6
},
"luminance": 0.06563
}Semantic roles & 50–950 ramp
primary
#21458F
secondary
#BB9851
accent
#B042E6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F