#1F114F#1F114F
#1F114F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.106 H 285.8°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F114F |
|---|---|
| RGB | rgb(31, 17, 79) |
| HSL | hsl(254, 65%, 19%) |
| HSV | hsv(254, 78%, 31%) |
| CMYK | cmyk(60.8%, 78.5%, 0%, 69%) |
| CIE-LAB | lab(10.97, 25.74, -35.57) |
| CIE-LCH | lch(10.97, 43.91, 305.89°) |
| OKLab | oklab(24.38% 0.029 -0.1023) |
| OKLCH | oklch(24.38% 0.106 285.8) |
| XYZ | xyz(2.1764, 1.2566, 7.5235) |
| Luminance | 0.0126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.56
Night Blue
#040348
ΔE00 4.23
Navy Blue (survey)
#001146
ΔE00 5.03
Dark Blue
#00035B
ΔE00 5.62
Darkblue (survey)
#030764
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F114F #414F11
analogous
#11224F #1F114F #3E114F
triadic
#1F114F #4F1F11 #114F1F
tetradic
#1F114F #4F1122 #414F11 #114F3E
square
#1F114F #4F1122 #414F11 #114F3E
split-complementary
#1F114F #4F3E11 #224F11
monochromatic
#0A0519 #0B061D #1F114F #331C81 #4727B4
Accessibility & contrast
On white
16.78
#1F114F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.25
#1F114F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F114F
16.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F114F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F114F | 1.00 | 16.78 | 1.25 | 16.78 |
| #FFFFFF | 16.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#09222E
Achromatopsia (no color)
#1D1D1D
Design tokens & code
CSS
--color: #1f114f; /* rgb */ color: rgb(31, 17, 79); /* oklch */ color: oklch(24.4% 0.106 285.8);
Tailwind
colors: {
custom: {
50: '#615081',
500: '#1f114f',
950: '#000000',
},
}SCSS
$custom: #1f114f; $custom-light: #615081; $custom-dark: #000000;
JSON
{
"hex": "#1f114f",
"rgb": {
"r": 31,
"g": 17,
"b": 79
},
"hsl": {
"h": 253.548,
"s": 64.583,
"l": 18.824
},
"oklch": {
"l": 0.24378,
"c": 0.10636,
"h": 285.8
},
"luminance": 0.01257
}Semantic roles & 50–950 ramp
primary
#1F114F
secondary
#758833
accent
#E840C2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C