#1F136C#1F136C
#1F136C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.143 H 277.8°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F136C |
|---|---|
| RGB | rgb(31, 19, 108) |
| HSL | hsl(248, 70%, 25%) |
| HSV | hsv(248, 82%, 42%) |
| CMYK | cmyk(71.3%, 82.4%, 0%, 57.6%) |
| CIE-LAB | lab(14.62, 34.42, -49.00) |
| CIE-LCH | lch(14.62, 59.88, 305.09°) |
| OKLab | oklab(27.92% 0.0195 -0.1415) |
| OKLCH | oklch(27.92% 0.143 277.8) |
| XYZ | xyz(3.5038, 1.8395, 14.3549) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.87
Dark Royal Blue
#02066F
ΔE00 3.26
Darkblue (survey)
#030764
ΔE00 3.27
Deep Blue
#040273
ΔE00 3.87
Dark Indigo
#1F0954
ΔE00 4.46
Dark Blue
#00035B
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F136C #606C13
analogous
#13336C #1F136C #4C136C
triadic
#1F136C #6C1F13 #136C1F
tetradic
#1F136C #6C1333 #606C13 #136C4C
square
#1F136C #6C1333 #606C13 #136C4C
split-complementary
#1F136C #6C4C13 #336C13
monochromatic
#07051A #100A38 #1F136C #2E1CA0 #3D25D4
Accessibility & contrast
On white
15.35
#1F136C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#1F136C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F136C
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F136C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F136C | 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)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #1f136c; /* rgb */ color: rgb(31, 19, 108); /* oklch */ color: oklch(27.9% 0.143 277.8);
Tailwind
colors: {
custom: {
50: '#685397',
500: '#1f136c',
950: '#000000',
},
}SCSS
$custom: #1f136c; $custom-light: #685397; $custom-dark: #000000;
JSON
{
"hex": "#1f136c",
"rgb": {
"r": 31,
"g": 19,
"b": 108
},
"hsl": {
"h": 248.09,
"s": 70.079,
"l": 24.902
},
"oklch": {
"l": 0.27922,
"c": 0.14289,
"h": 277.8
},
"luminance": 0.0184
}Semantic roles & 50–950 ramp
primary
#1F136C
secondary
#95A338
accent
#ED3BD5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E