#1B112E#1B112E
#1B112E is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.8% C 0.056 H 297.2°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1B112E |
|---|---|
| RGB | rgb(27, 17, 46) |
| HSL | hsl(261, 46%, 12%) |
| HSV | hsv(261, 63%, 18%) |
| CMYK | cmyk(41.3%, 63%, 0%, 82%) |
| CIE-LAB | lab(7.51, 13.31, -17.68) |
| CIE-LCH | lch(7.51, 22.13, 306.97°) |
| OKLab | oklab(20.81% 0.0257 -0.05) |
| OKLCH | oklch(20.81% 0.056 297.2) |
| XYZ | xyz(1.1455, 0.8312, 2.6843) |
| Luminance | 0.0083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 6.49
Dark Navy Blue
#00022E
ΔE00 7.15
Very Dark Blue
#000133
ΔE00 7.81
Dark Navy
#000435
ΔE00 7.82
Midnight Blue (survey)
#020035
ΔE00 7.94
Navy (survey)
#01153E
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B112E #242E11
analogous
#11152E #1B112E #2A112E
triadic
#1B112E #2E1B11 #112E1B
tetradic
#1B112E #2E1115 #242E11 #112E2A
square
#1B112E #2E1115 #242E11 #112E2A
split-complementary
#1B112E #2E2A11 #152E11
monochromatic
#0D0816 #0D0816 #1B112E #35225B #4F3287
Accessibility & contrast
On white
18.01
#1B112E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#1B112E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B112E
18.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B112E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B112E | 1.00 | 18.01 | 1.17 | 18.01 |
| #FFFFFF | 18.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#09162D
Tritanopia (blue-blind)
#17171D
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #1b112e; /* rgb */ color: rgb(27, 17, 46); /* oklch */ color: oklch(20.8% 0.056 297.2);
Tailwind
colors: {
custom: {
50: '#594f67',
500: '#1b112e',
950: '#000000',
},
}SCSS
$custom: #1b112e; $custom-light: #594f67; $custom-dark: #000000;
JSON
{
"hex": "#1b112e",
"rgb": {
"r": 27,
"g": 17,
"b": 46
},
"hsl": {
"h": 260.69,
"s": 46.032,
"l": 12.353
},
"oklch": {
"l": 0.20808,
"c": 0.0562,
"h": 297.2
},
"luminance": 0.00831
}Semantic roles & 50–950 ramp
primary
#1B112E
secondary
#556634
accent
#D652A8
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A