#213362#213362
#213362 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.086 H 266.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #213362 |
|---|---|
| RGB | rgb(33, 51, 98) |
| HSL | hsl(223, 50%, 26%) |
| HSV | hsv(223, 66%, 38%) |
| CMYK | cmyk(66.3%, 48%, 0%, 61.6%) |
| CIE-LAB | lab(22.20, 9.46, -30.10) |
| CIE-LCH | lch(22.20, 31.55, 287.44°) |
| OKLab | oklab(33.27% -0.0059 -0.0859) |
| OKLCH | oklch(33.27% 0.086 266.1) |
| XYZ | xyz(4.0149, 3.5725, 12.0309) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.47
Navy Blue
#1B2A4A
ΔE00 4.78
Marine Blue
#01386A
ΔE00 5.16
Darkish Blue
#014182
ΔE00 7.48
Twilight Blue
#0A437A
ΔE00 7.62
Prussian Blue
#004577
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213362 #625021
analogous
#215362 #213362 #302162
triadic
#213362 #622133 #336221
tetradic
#213362 #622153 #625021 #216230
square
#213362 #622153 #625021 #216230
split-complementary
#213362 #623021 #536221
monochromatic
#080C17 #121B34 #213362 #304B90 #4063BE
Accessibility & contrast
On white
12.25
#213362 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#213362 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213362
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213362 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213362 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #213362; /* rgb */ color: rgb(33, 51, 98); /* oklch */ color: oklch(33.3% 0.086 266.1);
Tailwind
colors: {
custom: {
50: '#646a8f',
500: '#213362',
950: '#000000',
},
}SCSS
$custom: #213362; $custom-light: #646a8f; $custom-dark: #000000;
JSON
{
"hex": "#213362",
"rgb": {
"r": 33,
"g": 51,
"b": 98
},
"hsl": {
"h": 223.385,
"s": 49.618,
"l": 25.686
},
"oklch": {
"l": 0.33265,
"c": 0.08612,
"h": 266.1
},
"luminance": 0.03573
}Semantic roles & 50–950 ramp
primary
#213362
secondary
#968149
accent
#B34FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D