#1F2486#1F2486
#1F2486 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.159 H 271.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2486 |
|---|---|
| RGB | rgb(31, 36, 134) |
| HSL | hsl(237, 62%, 32%) |
| HSV | hsv(237, 77%, 53%) |
| CMYK | cmyk(76.9%, 73.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.11, 33.42, -54.94) |
| CIE-LCH | lch(21.11, 64.31, 301.31°) |
| OKLab | oklab(33.38% 0.0048 -0.159) |
| OKLCH | oklch(33.38% 0.159 271.7) |
| XYZ | xyz(5.4976, 3.2737, 22.8918) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.78
Midnight Blue
#191970
ΔE00 4.09
Cobalt Blue
#030AA7
ΔE00 6.59
Darkblue
#00008B
ΔE00 6.86
Navy
#000080
ΔE00 7.17
Dark Royal Blue
#02066F
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2486 #86811F
analogous
#1F5886 #1F2486 #4D1F86
triadic
#1F2486 #861F24 #24861F
tetradic
#1F2486 #861F58 #86811F #1F864D
square
#1F2486 #861F58 #86811F #1F864D
split-complementary
#1F2486 #864D1F #58861F
monochromatic
#080923 #141754 #1F2486 #2A31B8 #4A51D5
Accessibility & contrast
On white
12.69
#1F2486 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2486 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2486
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2486 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2486 | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2486; /* rgb */ color: rgb(31, 36, 134); /* oklch */ color: oklch(33.4% 0.159 271.7);
Tailwind
colors: {
custom: {
50: '#6d5faa',
500: '#1f2486',
950: '#000000',
},
}SCSS
$custom: #1f2486; $custom-light: #6d5faa; $custom-dark: #000000;
JSON
{
"hex": "#1f2486",
"rgb": {
"r": 31,
"g": 36,
"b": 134
},
"hsl": {
"h": 237.087,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.33381,
"c": 0.15908,
"h": 271.7
},
"luminance": 0.03274
}Semantic roles & 50–950 ramp
primary
#1F2486
secondary
#B8B249
accent
#DE42E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F