#16218F#16218F
#16218F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.176 H 268.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #16218F |
|---|---|
| RGB | rgb(22, 33, 143) |
| HSL | hsl(235, 73%, 32%) |
| HSV | hsv(235, 85%, 56%) |
| CMYK | cmyk(84.6%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(20.98, 37.79, -60.79) |
| CIE-LCH | lch(20.98, 71.58, 301.87°) |
| OKLab | oklab(33.46% -0.0048 -0.1762) |
| OKLCH | oklch(33.46% 0.176 268.5) |
| XYZ | xyz(5.8310, 3.2408, 26.2995) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.36
Midnight Blue
#191970
ΔE00 4.91
Cobalt Blue
#030AA7
ΔE00 5.04
Royal Blue (survey)
#0504AA
ΔE00 5.67
Darkblue
#00008B
ΔE00 5.88
Indigo Blue
#3A18B1
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16218F #8F8416
analogous
#165E8F #16218F #47168F
triadic
#16218F #8F1621 #218F16
tetradic
#16218F #8F165E #8F8416 #168F47
square
#16218F #8F165E #8F8416 #168F47
split-complementary
#16218F #8F4716 #5E8F16
monochromatic
#060925 #0E155A #16218F #1E2DC4 #3E4DE1
Accessibility & contrast
On white
12.74
#16218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#16218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16218F
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16218F | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #16218f; /* rgb */ color: rgb(22, 33, 143); /* oklch */ color: oklch(33.5% 0.176 268.5);
Tailwind
colors: {
custom: {
50: '#6d5db1',
500: '#16218f',
950: '#000000',
},
}SCSS
$custom: #16218f; $custom-light: #6d5db1; $custom-dark: #000000;
JSON
{
"hex": "#16218f",
"rgb": {
"r": 22,
"g": 33,
"b": 143
},
"hsl": {
"h": 234.545,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.33461,
"c": 0.17623,
"h": 268.5
},
"luminance": 0.03241
}Semantic roles & 50–950 ramp
primary
#16218F
secondary
#C1B63F
accent
#DF38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980