#1F4982#1F4982
#1F4982 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.107 H 256.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4982 |
|---|---|
| RGB | rgb(31, 73, 130) |
| HSL | hsl(215, 61%, 32%) |
| HSV | hsv(215, 76%, 51%) |
| CMYK | cmyk(76.2%, 43.8%, 0%, 49%) |
| CIE-LAB | lab(31.04, 6.59, -36.32) |
| CIE-LCH | lch(31.04, 36.91, 280.29°) |
| OKLab | oklab(40.73% -0.0241 -0.1039) |
| OKLCH | oklch(40.73% 0.107 256.9) |
| XYZ | xyz(6.9754, 6.6673, 22.0341) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.01
Twilight Blue
#0A437A
ΔE00 2.50
Darkish Blue
#014182
ΔE00 2.74
Dusk Blue
#26538D
ΔE00 3.40
Prussian Blue
#004577
ΔE00 3.40
Light Navy
#155084
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4982 #82581F
analogous
#1F7B82 #1F4982 #261F82
triadic
#1F4982 #821F49 #49821F
tetradic
#1F4982 #821F7B #82581F #1F8226
square
#1F4982 #821F7B #82581F #1F8226
split-complementary
#1F4982 #82261F #7B821F
monochromatic
#07121F #132D51 #1F4982 #2B65B3 #4883D3
Accessibility & contrast
On white
9.00
#1F4982 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F4982 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4982
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4982 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4982 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4982; /* rgb */ color: rgb(31, 73, 130); /* oklch */ color: oklch(40.7% 0.107 256.9);
Tailwind
colors: {
custom: {
50: '#697ba7',
500: '#1f4982',
950: '#000000',
},
}SCSS
$custom: #1f4982; $custom-light: #697ba7; $custom-dark: #000000;
JSON
{
"hex": "#1f4982",
"rgb": {
"r": 31,
"g": 73,
"b": 130
},
"hsl": {
"h": 214.545,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.40728,
"c": 0.10662,
"h": 256.9
},
"luminance": 0.06668
}Semantic roles & 50–950 ramp
primary
#1F4982
secondary
#B58748
accent
#A043E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F