#1F116F#1F116F
#1F116F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.149 H 277.6°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F116F |
|---|---|
| RGB | rgb(31, 17, 111) |
| HSL | hsl(249, 73%, 25%) |
| HSV | hsv(249, 85%, 44%) |
| CMYK | cmyk(72.1%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(14.62, 36.45, -50.95) |
| CIE-LCH | lch(14.62, 62.65, 305.58°) |
| OKLab | oklab(28.03% 0.0196 -0.1472) |
| OKLCH | oklch(28.03% 0.149 277.6) |
| XYZ | xyz(3.6338, 1.8396, 15.1994) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Dark Royal Blue
#02066F
ΔE00 2.83
Darkblue (survey)
#030764
ΔE00 3.19
Deep Blue
#040273
ΔE00 3.30
Navy
#000080
ΔE00 4.23
Dark Blue
#00035B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F116F #616F11
analogous
#11326F #1F116F #4E116F
triadic
#1F116F #6F1F11 #116F1F
tetradic
#1F116F #6F1132 #616F11 #116F4E
square
#1F116F #6F1132 #616F11 #116F4E
split-complementary
#1F116F #6F4E11 #326F11
monochromatic
#07041B #10093A #1F116F #2E19A4 #3D21D9
Accessibility & contrast
On white
15.35
#1F116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#1F116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F116F
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F116F | 1.00 | 15.35 | 1.37 | 15.35 |
| #FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #1f116f; /* rgb */ color: rgb(31, 17, 111); /* oklch */ color: oklch(28.0% 0.149 277.6);
Tailwind
colors: {
custom: {
50: '#695299',
500: '#1f116f',
950: '#000000',
},
}SCSS
$custom: #1f116f; $custom-light: #695299; $custom-dark: #000000;
JSON
{
"hex": "#1f116f",
"rgb": {
"r": 31,
"g": 17,
"b": 111
},
"hsl": {
"h": 248.936,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.28028,
"c": 0.14851,
"h": 277.6
},
"luminance": 0.0184
}Semantic roles & 50–950 ramp
primary
#1F116F
secondary
#96A635
accent
#F038D5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E