#215197#215197
#215197 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.126 H 258.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #215197 |
|---|---|
| RGB | rgb(33, 81, 151) |
| HSL | hsl(216, 64%, 36%) |
| HSV | hsv(216, 78%, 59%) |
| CMYK | cmyk(78.1%, 46.4%, 0%, 40.8%) |
| CIE-LAB | lab(34.89, 9.85, -43.01) |
| CIE-LCH | lch(34.89, 44.12, 282.90°) |
| OKLab | oklab(44.16% -0.0258 -0.1233) |
| OKLCH | oklch(44.16% 0.126 258.2) |
| XYZ | xyz(9.1535, 8.4415, 30.4191) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.52
Cobalt (survey)
#1E488F
ΔE00 3.10
Light Navy
#155084
ΔE00 3.49
Light Navy Blue
#2E5A88
ΔE00 3.90
Denim Blue
#3B5B92
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#215197 #976721
analogous
#218C97 #215197 #2C2197
triadic
#215197 #972151 #519721
tetradic
#215197 #97218C #976721 #21972C
square
#215197 #97218C #976721 #21972C
split-complementary
#215197 #972C21 #8C9721
monochromatic
#0B1B33 #163665 #215197 #2C6CC9 #588DDA
Accessibility & contrast
On white
7.81
#215197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#215197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #215197
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##215197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##215197 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #215197; /* rgb */ color: rgb(33, 81, 151); /* oklch */ color: oklch(44.2% 0.126 258.2);
Tailwind
colors: {
custom: {
50: '#6e81b6',
500: '#215197',
950: '#000000',
},
}SCSS
$custom: #215197; $custom-light: #6e81b6; $custom-dark: #000000;
JSON
{
"hex": "#215197",
"rgb": {
"r": 33,
"g": 81,
"b": 151
},
"hsl": {
"h": 215.593,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.44161,
"c": 0.126,
"h": 258.2
},
"luminance": 0.08443
}Semantic roles & 50–950 ramp
primary
#215197
secondary
#BE9455
accent
#A341E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80