#1F136F#1F136F
#1F136F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.147 H 277.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1F136F |
|---|---|
| RGB | rgb(31, 19, 111) |
| HSL | hsl(248, 71%, 25%) |
| HSV | hsv(248, 83%, 44%) |
| CMYK | cmyk(72.1%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(14.98, 35.42, -50.36) |
| CIE-LCH | lch(14.98, 61.57, 305.12°) |
| OKLab | oklab(28.28% 0.0186 -0.1455) |
| OKLCH | oklch(28.28% 0.147 277.3) |
| XYZ | xyz(3.6663, 1.9044, 15.2102) |
| Luminance | 0.0191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.83
Dark Royal Blue
#02066F
ΔE00 3.12
Darkblue (survey)
#030764
ΔE00 3.40
Deep Blue
#040273
ΔE00 3.66
Navy
#000080
ΔE00 4.54
Dark Blue
#00035B
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F136F #636F13
analogous
#13356F #1F136F #4D136F
triadic
#1F136F #6F1F13 #136F1F
tetradic
#1F136F #6F1335 #636F13 #136F4D
square
#1F136F #6F1335 #636F13 #136F4D
split-complementary
#1F136F #6F4D13 #356F13
monochromatic
#07041A #100A3B #1F136F #2E1CA3 #3C25D8
Accessibility & contrast
On white
15.21
#1F136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#1F136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F136F
15.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F136F | 1.00 | 15.21 | 1.38 | 15.21 |
| #FFFFFF | 15.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1f136f; /* rgb */ color: rgb(31, 19, 111); /* oklch */ color: oklch(28.3% 0.147 277.3);
Tailwind
colors: {
custom: {
50: '#695399',
500: '#1f136f',
950: '#000000',
},
}SCSS
$custom: #1f136f; $custom-light: #695399; $custom-dark: #000000;
JSON
{
"hex": "#1f136f",
"rgb": {
"r": 31,
"g": 19,
"b": 111
},
"hsl": {
"h": 247.826,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.28275,
"c": 0.14672,
"h": 277.3
},
"luminance": 0.01905
}Semantic roles & 50–950 ramp
primary
#1F136F
secondary
#98A638
accent
#EE3AD6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E