#1F116C#1F116C
#1F116C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.145 H 278.2°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F116C |
|---|---|
| RGB | rgb(31, 17, 108) |
| HSL | hsl(249, 73%, 25%) |
| HSV | hsv(249, 84%, 42%) |
| CMYK | cmyk(71.3%, 84.3%, 0%, 57.6%) |
| CIE-LAB | lab(14.26, 35.47, -49.60) |
| CIE-LCH | lch(14.26, 60.98, 305.57°) |
| OKLab | oklab(27.67% 0.0206 -0.1433) |
| OKLCH | oklch(27.67% 0.145 278.2) |
| XYZ | xyz(3.4714, 1.7746, 14.3440) |
| Luminance | 0.0177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Dark Royal Blue
#02066F
ΔE00 2.95
Darkblue (survey)
#030764
ΔE00 3.03
Deep Blue
#040273
ΔE00 3.51
Dark Blue
#00035B
ΔE00 4.33
Dark Indigo
#1F0954
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F116C #5E6C11
analogous
#11316C #1F116C #4D116C
triadic
#1F116C #6C1F11 #116C1F
tetradic
#1F116C #6C1131 #5E6C11 #116C4D
square
#1F116C #6C1131 #5E6C11 #116C4D
split-complementary
#1F116C #6C4D11 #316C11
monochromatic
#08041A #100937 #1F116C #2E19A1 #3D22D6
Accessibility & contrast
On white
15.50
#1F116C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#1F116C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F116C
15.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F116C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F116C | 1.00 | 15.50 | 1.36 | 15.50 |
| #FFFFFF | 15.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #1f116c; /* rgb */ color: rgb(31, 17, 108); /* oklch */ color: oklch(27.7% 0.145 278.2);
Tailwind
colors: {
custom: {
50: '#685297',
500: '#1f116c',
950: '#000000',
},
}SCSS
$custom: #1f116c; $custom-light: #685297; $custom-dark: #000000;
JSON
{
"hex": "#1f116c",
"rgb": {
"r": 31,
"g": 17,
"b": 108
},
"hsl": {
"h": 249.231,
"s": 72.8,
"l": 24.51
},
"oklch": {
"l": 0.27668,
"c": 0.14475,
"h": 278.2
},
"luminance": 0.01775
}Semantic roles & 50–950 ramp
primary
#1F116C
secondary
#93A435
accent
#EF38D3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E