#162099#162099
#162099 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.190 H 268.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #162099 |
|---|---|
| RGB | rgb(22, 32, 153) |
| HSL | hsl(235, 75%, 34%) |
| HSV | hsv(235, 86%, 60%) |
| CMYK | cmyk(85.6%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(21.95, 41.87, -65.36) |
| CIE-LCH | lch(21.95, 77.62, 302.64°) |
| OKLab | oklab(34.49% -0.006 -0.1894) |
| OKLCH | oklch(34.49% 0.19 268.2) |
| XYZ | xyz(6.5952, 3.5027, 30.4593) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Cobalt Blue
#030AA7
ΔE00 3.93
Royal Blue (survey)
#0504AA
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 5.09
Ultramarine
#2000B1
ΔE00 5.24
Darkblue
#00008B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162099 #998F16
analogous
#166299 #162099 #4E1699
triadic
#162099 #991620 #209916
tetradic
#162099 #991662 #998F16 #16994E
square
#162099 #991662 #998F16 #16994E
split-complementary
#162099 #994E16 #629916
monochromatic
#070A2E #0E1563 #162099 #1E2BCF #4551E4
Accessibility & contrast
On white
12.35
#162099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#162099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162099
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162099 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #162099; /* rgb */ color: rgb(22, 32, 153); /* oklch */ color: oklch(34.5% 0.190 268.2);
Tailwind
colors: {
custom: {
50: '#705db8',
500: '#162099',
950: '#000000',
},
}SCSS
$custom: #162099; $custom-light: #705db8; $custom-dark: #000000;
JSON
{
"hex": "#162099",
"rgb": {
"r": 22,
"g": 32,
"b": 153
},
"hsl": {
"h": 235.42,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.3449,
"c": 0.18952,
"h": 268.2
},
"luminance": 0.03504
}Semantic roles & 50–950 ramp
primary
#162099
secondary
#C5BB46
accent
#E336F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090412
muted
#7B7981