#1F146C#1F146C
#1F146C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.142 H 277.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F146C |
|---|---|
| RGB | rgb(31, 20, 108) |
| HSL | hsl(248, 69%, 25%) |
| HSV | hsv(248, 81%, 42%) |
| CMYK | cmyk(71.3%, 81.5%, 0%, 57.6%) |
| CIE-LAB | lab(14.81, 33.87, -48.68) |
| CIE-LCH | lch(14.81, 59.31, 304.83°) |
| OKLab | oklab(28.06% 0.019 -0.1406) |
| OKLCH | oklch(28.06% 0.142 277.7) |
| XYZ | xyz(3.5211, 1.8740, 14.3606) |
| Luminance | 0.0187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.68
Darkblue (survey)
#030764
ΔE00 3.42
Dark Royal Blue
#02066F
ΔE00 3.44
Deep Blue
#040273
ΔE00 4.06
Dark Indigo
#1F0954
ΔE00 4.55
Dark Blue
#00035B
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F146C #616C14
analogous
#14356C #1F146C #4B146C
triadic
#1F146C #6C1F14 #146C1F
tetradic
#1F146C #6C1435 #616C14 #146C4B
square
#1F146C #6C1435 #616C14 #146C4B
split-complementary
#1F146C #6C4B14 #356C14
monochromatic
#07051A #100A38 #1F146C #2E1EA0 #3D27D3
Accessibility & contrast
On white
15.27
#1F146C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#1F146C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F146C
15.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F146C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F146C | 1.00 | 15.27 | 1.37 | 15.27 |
| #FFFFFF | 15.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #1f146c; /* rgb */ color: rgb(31, 20, 108); /* oklch */ color: oklch(28.1% 0.142 277.7);
Tailwind
colors: {
custom: {
50: '#685497',
500: '#1f146c',
950: '#000000',
},
}SCSS
$custom: #1f146c; $custom-light: #685497; $custom-dark: #000000;
JSON
{
"hex": "#1f146c",
"rgb": {
"r": 31,
"g": 20,
"b": 108
},
"hsl": {
"h": 247.5,
"s": 68.75,
"l": 25.098
},
"oklch": {
"l": 0.28055,
"c": 0.14192,
"h": 277.7
},
"luminance": 0.01874
}Semantic roles & 50–950 ramp
primary
#1F146C
secondary
#96A339
accent
#EC3CD6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E