#21328C#21328C
#21328C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.150 H 269.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #21328C |
|---|---|
| RGB | rgb(33, 50, 140) |
| HSL | hsl(230, 62%, 34%) |
| HSV | hsv(230, 76%, 55%) |
| CMYK | cmyk(76.4%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(25.25, 26.66, -51.88) |
| CIE-LCH | lch(25.25, 58.33, 297.19°) |
| OKLab | oklab(36.61% -0.0022 -0.15) |
| OKLCH | oklch(36.61% 0.15 269.2) |
| XYZ | xyz(6.4998, 4.4973, 25.3314) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.62
Blueberry
#464196
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.38
Royal
#0C1793
ΔE00 7.28
Midnight Blue
#191970
ΔE00 7.62
Darkish Blue
#014182
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21328C #8C7B21
analogous
#21688C #21328C #46218C
triadic
#21328C #8C2132 #328C21
tetradic
#21328C #8C2168 #8C7B21 #218C46
square
#21328C #8C2168 #8C7B21 #218C46
split-complementary
#21328C #8C4621 #688C21
monochromatic
#0A0F29 #15205A #21328C #2D44BE #5166D6
Accessibility & contrast
On white
11.05
#21328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#21328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21328C
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21328C | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #21328c; /* rgb */ color: rgb(33, 50, 140); /* oklch */ color: oklch(36.6% 0.150 269.2);
Tailwind
colors: {
custom: {
50: '#6e69ae',
500: '#21328c',
950: '#000000',
},
}SCSS
$custom: #21328c; $custom-light: #6e69ae; $custom-dark: #000000;
JSON
{
"hex": "#21328c",
"rgb": {
"r": 33,
"g": 50,
"b": 140
},
"hsl": {
"h": 230.467,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.36606,
"c": 0.14998,
"h": 269.2
},
"luminance": 0.04498
}Semantic roles & 50–950 ramp
primary
#21328C
secondary
#B9A94F
accent
#CB43E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F