#1F4699#1F4699
#1F4699 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.143 H 262.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4699 |
|---|---|
| RGB | rgb(31, 70, 153) |
| HSL | hsl(221, 66%, 36%) |
| HSV | hsv(221, 80%, 60%) |
| CMYK | cmyk(79.7%, 54.2%, 0%, 40%) |
| CIE-LAB | lab(31.74, 17.85, -49.30) |
| CIE-LCH | lch(31.74, 52.43, 289.90°) |
| OKLab | oklab(41.78% -0.0178 -0.1421) |
| OKLCH | oklch(41.78% 0.143 262.8) |
| XYZ | xyz(8.5029, 6.9705, 31.0281) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.93
Cobalt
#0047AB
ΔE00 2.50
Darkish Blue
#014182
ΔE00 4.34
Dusk Blue
#26538D
ΔE00 5.15
Twilight Blue
#0A437A
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4699 #99721F
analogous
#1F8399 #1F4699 #351F99
triadic
#1F4699 #991F46 #46991F
tetradic
#1F4699 #991F83 #99721F #1F9935
square
#1F4699 #991F83 #99721F #1F9935
split-complementary
#1F4699 #99351F #83991F
monochromatic
#0A1733 #152F66 #1F4699 #295DCC #5681DD
Accessibility & contrast
On white
8.77
#1F4699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F4699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4699
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4699 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#04519C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4699; /* rgb */ color: rgb(31, 70, 153); /* oklch */ color: oklch(41.8% 0.143 262.8);
Tailwind
colors: {
custom: {
50: '#6f78b8',
500: '#1f4699',
950: '#000000',
},
}SCSS
$custom: #1f4699; $custom-light: #6f78b8; $custom-dark: #000000;
JSON
{
"hex": "#1f4699",
"rgb": {
"r": 31,
"g": 70,
"b": 153
},
"hsl": {
"h": 220.82,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.41777,
"c": 0.14322,
"h": 262.8
},
"luminance": 0.06972
}Semantic roles & 50–950 ramp
primary
#1F4699
secondary
#C09E54
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80