#1B167F#1B167F
#1B167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.165 H 272.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1B167F |
|---|---|
| RGB | rgb(27, 22, 127) |
| HSL | hsl(243, 70%, 29%) |
| HSV | hsv(243, 83%, 50%) |
| CMYK | cmyk(78.7%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.17, 38.81, -57.03) |
| CIE-LCH | lch(17.17, 68.99, 304.23°) |
| OKLab | oklab(30.29% 0.0074 -0.165) |
| OKLCH | oklch(30.29% 0.165 272.6) |
| XYZ | xyz(4.5684, 2.3386, 20.2852) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.70
Royal
#0C1793
ΔE00 2.94
Navy
#000080
ΔE00 3.87
Darkblue
#00008B
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 3.96
Deep Blue
#040273
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B167F #7A7F16
analogous
#16467F #1B167F #50167F
triadic
#1B167F #7F1B16 #167F1B
tetradic
#1B167F #7F1646 #7A7F16 #167F50
square
#1B167F #7F1646 #7A7F16 #167F50
split-complementary
#1B167F #7F5016 #467F16
monochromatic
#06051A #100D4B #1B167F #261FB3 #3C34DC
Accessibility & contrast
On white
14.31
#1B167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1B167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B167F
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B167F | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b167f; /* rgb */ color: rgb(27, 22, 127); /* oklch */ color: oklch(30.3% 0.165 272.6);
Tailwind
colors: {
custom: {
50: '#6b56a5',
500: '#1b167f',
950: '#000000',
},
}SCSS
$custom: #1b167f; $custom-light: #6b56a5; $custom-dark: #000000;
JSON
{
"hex": "#1b167f",
"rgb": {
"r": 27,
"g": 22,
"b": 127
},
"hsl": {
"h": 242.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30294,
"c": 0.16521,
"h": 272.6
},
"luminance": 0.02339
}Semantic roles & 50–950 ramp
primary
#1B167F
secondary
#AEB43D
accent
#ED3BE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F