#1F4382#1F4382
#1F4382 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.114 H 260.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4382 |
|---|---|
| RGB | rgb(31, 67, 130) |
| HSL | hsl(218, 61%, 32%) |
| HSV | hsv(218, 76%, 51%) |
| CMYK | cmyk(76.2%, 48.5%, 0%, 49%) |
| CIE-LAB | lab(29.20, 10.68, -39.26) |
| CIE-LCH | lch(29.20, 40.69, 285.22°) |
| OKLab | oklab(39.31% -0.0185 -0.1126) |
| OKLCH | oklch(39.31% 0.114 260.7) |
| XYZ | xyz(6.6000, 5.9166, 21.9089) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.23
Darkish Blue
#014182
ΔE00 2.27
Twilight Blue
#0A437A
ΔE00 2.93
Prussian Blue
#004577
ΔE00 4.52
Marine Blue
#01386A
ΔE00 4.89
Dusk Blue
#26538D
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4382 #825E1F
analogous
#1F7582 #1F4382 #2D1F82
triadic
#1F4382 #821F43 #43821F
tetradic
#1F4382 #821F75 #825E1F #1F822D
square
#1F4382 #821F75 #825E1F #1F822D
split-complementary
#1F4382 #822D1F #75821F
monochromatic
#07101F #132A51 #1F4382 #2B5CB3 #487BD3
Accessibility & contrast
On white
9.62
#1F4382 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F4382 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4382
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4382 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4382 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A84
Deuteranopia (green-blind)
#084181
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f4382; /* rgb */ color: rgb(31, 67, 130); /* oklch */ color: oklch(39.3% 0.114 260.7);
Tailwind
colors: {
custom: {
50: '#6976a7',
500: '#1f4382',
950: '#000000',
},
}SCSS
$custom: #1f4382; $custom-light: #6976a7; $custom-dark: #000000;
JSON
{
"hex": "#1f4382",
"rgb": {
"r": 31,
"g": 67,
"b": 130
},
"hsl": {
"h": 218.182,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.39311,
"c": 0.11413,
"h": 260.7
},
"luminance": 0.05917
}Semantic roles & 50–950 ramp
primary
#1F4382
secondary
#B58D48
accent
#AA43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F