#1F146F#1F146F
#1F146F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.146 H 277.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F146F |
|---|---|
| RGB | rgb(31, 20, 111) |
| HSL | hsl(247, 69%, 26%) |
| HSV | hsv(247, 82%, 44%) |
| CMYK | cmyk(72.1%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(15.16, 34.88, -50.06) |
| CIE-LCH | lch(15.16, 61.01, 304.87°) |
| OKLab | oklab(28.41% 0.0181 -0.1446) |
| OKLCH | oklch(28.41% 0.146 277.1) |
| XYZ | xyz(3.6835, 1.9390, 15.2160) |
| Luminance | 0.0194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.61
Dark Royal Blue
#02066F
ΔE00 3.29
Darkblue (survey)
#030764
ΔE00 3.54
Deep Blue
#040273
ΔE00 3.85
Navy
#000080
ΔE00 4.70
Dark Blue
#00035B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F146F #646F14
analogous
#14366F #1F146F #4C146F
triadic
#1F146F #6F1F14 #146F1F
tetradic
#1F146F #6F1436 #646F14 #146F4C
square
#1F146F #6F1436 #646F14 #146F4C
split-complementary
#1F146F #6F4C14 #366F14
monochromatic
#07051A #110B3B #1F146F #2D1DA3 #3C27D7
Accessibility & contrast
On white
15.13
#1F146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#1F146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F146F
15.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F146F | 1.00 | 15.13 | 1.39 | 15.13 |
| #FFFFFF | 15.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1f146f; /* rgb */ color: rgb(31, 20, 111); /* oklch */ color: oklch(28.4% 0.146 277.1);
Tailwind
colors: {
custom: {
50: '#685499',
500: '#1f146f',
950: '#000000',
},
}SCSS
$custom: #1f146f; $custom-light: #685499; $custom-dark: #000000;
JSON
{
"hex": "#1f146f",
"rgb": {
"r": 31,
"g": 20,
"b": 111
},
"hsl": {
"h": 247.253,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.28405,
"c": 0.14578,
"h": 277.1
},
"luminance": 0.01939
}Semantic roles & 50–950 ramp
primary
#1F146F
secondary
#98A639
accent
#EC3CD7
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E