#1F4682#1F4682
#1F4682 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.110 H 258.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4682 |
|---|---|
| RGB | rgb(31, 70, 130) |
| HSL | hsl(216, 61%, 32%) |
| HSV | hsv(216, 76%, 51%) |
| CMYK | cmyk(76.2%, 46.2%, 0%, 49%) |
| CIE-LAB | lab(30.11, 8.63, -37.80) |
| CIE-LCH | lch(30.11, 38.77, 282.85°) |
| OKLab | oklab(40.01% -0.0213 -0.1083) |
| OKLCH | oklch(40.01% 0.11 258.9) |
| XYZ | xyz(6.7830, 6.2826, 21.9699) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.80
Darkish Blue
#014182
ΔE00 2.23
Twilight Blue
#0A437A
ΔE00 2.47
Prussian Blue
#004577
ΔE00 3.85
Dusk Blue
#26538D
ΔE00 4.41
Light Navy
#155084
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4682 #825B1F
analogous
#1F7882 #1F4682 #2A1F82
triadic
#1F4682 #821F46 #46821F
tetradic
#1F4682 #821F78 #825B1F #1F822A
square
#1F4682 #821F78 #825B1F #1F822A
split-complementary
#1F4682 #822A1F #78821F
monochromatic
#07111F #132B51 #1F4682 #2B61B3 #487FD3
Accessibility & contrast
On white
9.31
#1F4682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1F4682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4682
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4682 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4682; /* rgb */ color: rgb(31, 70, 130); /* oklch */ color: oklch(40.0% 0.110 258.9);
Tailwind
colors: {
custom: {
50: '#6978a7',
500: '#1f4682',
950: '#000000',
},
}SCSS
$custom: #1f4682; $custom-light: #6978a7; $custom-dark: #000000;
JSON
{
"hex": "#1f4682",
"rgb": {
"r": 31,
"g": 70,
"b": 130
},
"hsl": {
"h": 216.364,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.40014,
"c": 0.11033,
"h": 258.9
},
"luminance": 0.06283
}Semantic roles & 50–950 ramp
primary
#1F4682
secondary
#B58A48
accent
#A543E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F