#21468C#21468C
#21468C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.124 H 261.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #21468C |
|---|---|
| RGB | rgb(33, 70, 140) |
| HSL | hsl(219, 62%, 34%) |
| HSV | hsv(219, 76%, 55%) |
| CMYK | cmyk(76.4%, 50%, 0%, 45.1%) |
| CIE-LAB | lab(30.87, 12.90, -42.76) |
| CIE-LCH | lch(30.87, 44.67, 286.79°) |
| OKLab | oklab(40.83% -0.018 -0.1228) |
| OKLCH | oklch(40.83% 0.124 261.7) |
| XYZ | xyz(7.5493, 6.5963, 25.6812) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.91
Darkish Blue
#014182
ΔE00 3.06
Twilight Blue
#0A437A
ΔE00 3.79
Cobalt
#0047AB
ΔE00 4.13
Dusk Blue
#26538D
ΔE00 4.60
Prussian Blue
#004577
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21468C #8C6721
analogous
#217C8C #21468C #31218C
triadic
#21468C #8C2146 #468C21
tetradic
#21468C #8C217C #8C6721 #218C31
square
#21468C #8C217C #8C6721 #218C31
split-complementary
#21468C #8C3121 #7C8C21
monochromatic
#0A1429 #152D5A #21468C #2D5FBE #517FD6
Accessibility & contrast
On white
9.05
#21468C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#21468C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21468C
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21468C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21468C | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21468c; /* rgb */ color: rgb(33, 70, 140); /* oklch */ color: oklch(40.8% 0.124 261.7);
Tailwind
colors: {
custom: {
50: '#6c78ae',
500: '#21468c',
950: '#000000',
},
}SCSS
$custom: #21468c; $custom-light: #6c78ae; $custom-dark: #000000;
JSON
{
"hex": "#21468c",
"rgb": {
"r": 33,
"g": 70,
"b": 140
},
"hsl": {
"h": 219.252,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.40834,
"c": 0.12414,
"h": 261.7
},
"luminance": 0.06597
}Semantic roles & 50–950 ramp
primary
#21468C
secondary
#B9954F
accent
#AD43E5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F