#162B74#162B74
#162B74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.128 H 266.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #162B74 |
|---|---|
| RGB | rgb(22, 43, 116) |
| HSL | hsl(227, 68%, 27%) |
| HSV | hsv(227, 81%, 45%) |
| CMYK | cmyk(81%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(20.67, 20.74, -44.26) |
| CIE-LCH | lch(20.67, 48.88, 295.11°) |
| OKLab | oklab(32.4% -0.0075 -0.1279) |
| OKLCH | oklch(32.4% 0.128 266.6) |
| XYZ | xyz(4.3460, 3.1588, 16.9003) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.09
Midnight Blue
#191970
ΔE00 5.82
Marine Blue
#01386A
ΔE00 7.02
Navy Blue
#1B2A4A
ΔE00 8.09
Royal
#0C1793
ΔE00 8.12
Darkish Blue
#014182
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B74 #745F16
analogous
#165A74 #162B74 #301674
triadic
#162B74 #74162B #2B7416
tetradic
#162B74 #74165A #745F16 #167430
square
#162B74 #74165A #745F16 #167430
split-complementary
#162B74 #743016 #5A7416
monochromatic
#050A1A #0C1841 #162B74 #203EA7 #2D53D7
Accessibility & contrast
On white
12.87
#162B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#162B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B74
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B74 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #162b74; /* rgb */ color: rgb(22, 43, 116); /* oklch */ color: oklch(32.4% 0.128 266.6);
Tailwind
colors: {
custom: {
50: '#64649d',
500: '#162b74',
950: '#000000',
},
}SCSS
$custom: #162b74; $custom-light: #64649d; $custom-dark: #000000;
JSON
{
"hex": "#162b74",
"rgb": {
"r": 22,
"g": 43,
"b": 116
},
"hsl": {
"h": 226.596,
"s": 68.116,
"l": 27.059
},
"oklch": {
"l": 0.32396,
"c": 0.12814,
"h": 266.6
},
"luminance": 0.03159
}Semantic roles & 50–950 ramp
primary
#162B74
secondary
#AA913C
accent
#C43DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E