#21368F#21368F
#21368F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.149 H 268.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #21368F |
|---|---|
| RGB | rgb(33, 54, 143) |
| HSL | hsl(229, 63%, 35%) |
| HSV | hsv(229, 77%, 56%) |
| CMYK | cmyk(76.9%, 62.2%, 0%, 43.9%) |
| CIE-LAB | lab(26.57, 25.09, -51.58) |
| CIE-LCH | lch(26.57, 57.36, 295.94°) |
| OKLab | oklab(37.67% -0.005 -0.149) |
| OKLCH | oklch(37.67% 0.149 268.1) |
| XYZ | xyz(6.9026, 4.9441, 26.5718) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Blueberry
#464196
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.65
Cobalt
#0047AB
ΔE00 6.77
Darkish Blue
#014182
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21368F #8F7A21
analogous
#216D8F #21368F #43218F
triadic
#21368F #8F2136 #368F21
tetradic
#21368F #8F216D #8F7A21 #218F43
square
#21368F #8F216D #8F7A21 #218F43
split-complementary
#21368F #8F4321 #6D8F21
monochromatic
#0A102C #16235D #21368F #2C49C1 #536CD7
Accessibility & contrast
On white
10.56
#21368F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#21368F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21368F
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21368F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21368F | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21368f; /* rgb */ color: rgb(33, 54, 143); /* oklch */ color: oklch(37.7% 0.149 268.1);
Tailwind
colors: {
custom: {
50: '#6e6cb1',
500: '#21368f',
950: '#000000',
},
}SCSS
$custom: #21368f; $custom-light: #6e6cb1; $custom-dark: #000000;
JSON
{
"hex": "#21368f",
"rgb": {
"r": 33,
"g": 54,
"b": 143
},
"hsl": {
"h": 228.545,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.37667,
"c": 0.1491,
"h": 268.1
},
"luminance": 0.04945
}Semantic roles & 50–950 ramp
primary
#21368F
secondary
#BBA751
accent
#C642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80