#1A167B#1A167B
#1A167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.161 H 272.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1A167B |
|---|---|
| RGB | rgb(26, 22, 123) |
| HSL | hsl(242, 70%, 28%) |
| HSV | hsv(242, 82%, 48%) |
| CMYK | cmyk(78.9%, 82.1%, 0%, 51.8%) |
| CIE-LAB | lab(16.62, 37.39, -55.41) |
| CIE-LCH | lch(16.62, 66.84, 304.01°) |
| OKLab | oklab(29.75% 0.0071 -0.1603) |
| OKLCH | oklch(29.75% 0.161 272.5) |
| XYZ | xyz(4.2869, 2.2230, 18.9382) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Royal
#0C1793
ΔE00 3.52
Dark Royal Blue
#02066F
ΔE00 3.65
Deep Blue
#040273
ΔE00 3.95
Navy
#000080
ΔE00 3.99
Darkblue
#00008B
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A167B #777B16
analogous
#16447B #1A167B #4C167B
triadic
#1A167B #7B1A16 #167B1A
tetradic
#1A167B #7B1644 #777B16 #167B4C
square
#1A167B #7B1644 #777B16 #167B4C
split-complementary
#1A167B #7B4C16 #447B16
monochromatic
#05051A #0F0D47 #1A167B #251FAF #3831DA
Accessibility & contrast
On white
14.54
#1A167B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1A167B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A167B
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A167B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A167B | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a167b; /* rgb */ color: rgb(26, 22, 123); /* oklch */ color: oklch(29.7% 0.161 272.5);
Tailwind
colors: {
custom: {
50: '#6a56a2',
500: '#1a167b',
950: '#000000',
},
}SCSS
$custom: #1a167b; $custom-light: #6a56a2; $custom-dark: #000000;
JSON
{
"hex": "#1a167b",
"rgb": {
"r": 26,
"g": 22,
"b": 123
},
"hsl": {
"h": 242.376,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.29747,
"c": 0.1605,
"h": 272.5
},
"luminance": 0.02223
}Semantic roles & 50–950 ramp
primary
#1A167B
secondary
#ACB03D
accent
#EC3BE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F