#1B165E#1B165E
#1B165E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.122 H 277.1°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1B165E |
|---|---|
| RGB | rgb(27, 22, 94) |
| HSL | hsl(244, 62%, 23%) |
| HSV | hsv(244, 77%, 37%) |
| CMYK | cmyk(71.3%, 76.6%, 0%, 63.1%) |
| CIE-LAB | lab(13.32, 27.28, -41.90) |
| CIE-LCH | lch(13.32, 50.00, 303.07°) |
| OKLab | oklab(26.44% 0.0151 -0.121) |
| OKLCH | oklch(26.44% 0.122 277.1) |
| XYZ | xyz(2.7586, 1.6147, 10.7538) |
| Luminance | 0.0162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.15
Dark Indigo
#1F0954
ΔE00 3.66
Darkblue (survey)
#030764
ΔE00 4.25
Dark Blue
#00035B
ΔE00 4.84
Night Blue
#040348
ΔE00 5.20
Dark Royal Blue
#02066F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B165E #595E16
analogous
#16355E #1B165E #3F165E
triadic
#1B165E #5E1B16 #165E1B
tetradic
#1B165E #5E1635 #595E16 #165E3F
square
#1B165E #5E1635 #595E16 #165E3F
split-complementary
#1B165E #5E3F16 #355E16
monochromatic
#070619 #0D0A2C #1B165E #292290 #372DC1
Accessibility & contrast
On white
15.87
#1B165E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#1B165E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B165E
15.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B165E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B165E | 1.00 | 15.87 | 1.32 | 15.87 |
| #FFFFFF | 15.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #1b165e; /* rgb */ color: rgb(27, 22, 94); /* oklch */ color: oklch(26.4% 0.122 277.1);
Tailwind
colors: {
custom: {
50: '#62548c',
500: '#1b165e',
950: '#000000',
},
}SCSS
$custom: #1b165e; $custom-light: #62548c; $custom-dark: #000000;
JSON
{
"hex": "#1b165e",
"rgb": {
"r": 27,
"g": 22,
"b": 94
},
"hsl": {
"h": 244.167,
"s": 62.069,
"l": 22.745
},
"oklch": {
"l": 0.26442,
"c": 0.12194,
"h": 277.1
},
"luminance": 0.01615
}Semantic roles & 50–950 ramp
primary
#1B165E
secondary
#8F953B
accent
#E543DA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D