#162F7C#162F7C
#162F7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.134 H 265.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #162F7C |
|---|---|
| RGB | rgb(22, 47, 124) |
| HSL | hsl(225, 70%, 29%) |
| HSV | hsv(225, 82%, 49%) |
| CMYK | cmyk(82.3%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(22.51, 21.17, -46.36) |
| CIE-LCH | lch(22.51, 50.96, 294.54°) |
| OKLab | oklab(33.99% -0.0101 -0.134) |
| OKLCH | oklch(33.99% 0.134 265.7) |
| XYZ | xyz(4.9842, 3.6583, 19.5083) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.40
Marine Blue
#01386A
ΔE00 6.44
Midnight Blue
#191970
ΔE00 6.90
Darkish Blue
#014182
ΔE00 7.24
Sapphire (survey)
#2138AB
ΔE00 7.25
Darkslateblue
#483D8B
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F7C #7C6316
analogous
#16627C #162F7C #30167C
triadic
#162F7C #7C162F #2F7C16
tetradic
#162F7C #7C1662 #7C6316 #167C30
square
#162F7C #7C1662 #7C6316 #167C30
split-complementary
#162F7C #7C3016 #627C16
monochromatic
#050A1A #0D1B48 #162F7C #1F43B0 #325BDB
Accessibility & contrast
On white
12.13
#162F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#162F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F7C
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F7C | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #162f7c; /* rgb */ color: rgb(22, 47, 124); /* oklch */ color: oklch(34.0% 0.134 265.7);
Tailwind
colors: {
custom: {
50: '#6667a3',
500: '#162f7c',
950: '#000000',
},
}SCSS
$custom: #162f7c; $custom-light: #6667a3; $custom-dark: #000000;
JSON
{
"hex": "#162f7c",
"rgb": {
"r": 22,
"g": 47,
"b": 124
},
"hsl": {
"h": 225.294,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.33989,
"c": 0.13439,
"h": 265.7
},
"luminance": 0.03659
}Semantic roles & 50–950 ramp
primary
#162F7C
secondary
#B1953D
accent
#C13BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F