#1F4186#1F4186
#1F4186 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.123 H 262.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4186 |
|---|---|
| RGB | rgb(31, 65, 134) |
| HSL | hsl(220, 62%, 32%) |
| HSV | hsv(220, 77%, 53%) |
| CMYK | cmyk(76.9%, 51.5%, 0%, 47.5%) |
| CIE-LAB | lab(28.88, 13.67, -42.26) |
| CIE-LCH | lch(28.88, 44.42, 287.92°) |
| OKLab | oklab(39.16% -0.016 -0.1215) |
| OKLCH | oklch(39.16% 0.123 262.5) |
| XYZ | xyz(6.7569, 5.7924, 23.3116) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.56
Darkish Blue
#014182
ΔE00 2.84
Twilight Blue
#0A437A
ΔE00 3.80
Cobalt
#0047AB
ΔE00 5.17
Marine Blue
#01386A
ΔE00 5.23
Prussian Blue
#004577
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4186 #86641F
analogous
#1F7586 #1F4186 #301F86
triadic
#1F4186 #861F41 #41861F
tetradic
#1F4186 #861F75 #86641F #1F8630
square
#1F4186 #861F75 #86641F #1F8630
split-complementary
#1F4186 #86301F #75861F
monochromatic
#081123 #142954 #1F4186 #2A59B8 #4A78D5
Accessibility & contrast
On white
9.73
#1F4186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1F4186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4186
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4186 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f4186; /* rgb */ color: rgb(31, 65, 134); /* oklch */ color: oklch(39.2% 0.123 262.5);
Tailwind
colors: {
custom: {
50: '#6a75aa',
500: '#1f4186',
950: '#000000',
},
}SCSS
$custom: #1f4186; $custom-light: #6a75aa; $custom-dark: #000000;
JSON
{
"hex": "#1f4186",
"rgb": {
"r": 31,
"g": 65,
"b": 134
},
"hsl": {
"h": 220.194,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.39156,
"c": 0.12254,
"h": 262.5
},
"luminance": 0.05793
}Semantic roles & 50–950 ramp
primary
#1F4186
secondary
#B89349
accent
#B042E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F