#1F4981#1F4981
#1F4981 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.7% C 0.105 H 256.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4981 |
|---|---|
| RGB | rgb(31, 73, 129) |
| HSL | hsl(214, 61%, 31%) |
| HSV | hsv(214, 76%, 51%) |
| CMYK | cmyk(76%, 43.4%, 0%, 49.4%) |
| CIE-LAB | lab(30.97, 6.19, -35.80) |
| CIE-LCH | lch(30.97, 36.33, 279.81°) |
| OKLab | oklab(40.66% -0.0243 -0.1023) |
| OKLCH | oklch(40.66% 0.105 256.6) |
| XYZ | xyz(6.9086, 6.6406, 21.6823) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.16
Twilight Blue
#0A437A
ΔE00 2.42
Darkish Blue
#014182
ΔE00 2.75
Prussian Blue
#004577
ΔE00 3.30
Light Navy
#155084
ΔE00 3.40
Dusk Blue
#26538D
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4981 #81571F
analogous
#1F7A81 #1F4981 #261F81
triadic
#1F4981 #811F49 #49811F
tetradic
#1F4981 #811F7A #81571F #1F8126
square
#1F4981 #811F7A #81571F #1F8126
split-complementary
#1F4981 #81261F #7A811F
monochromatic
#07111E #132D50 #1F4981 #2B65B2 #4783D3
Accessibility & contrast
On white
9.02
#1F4981 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F4981 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4981
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4981 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4981 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4E83
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4981; /* rgb */ color: rgb(31, 73, 129); /* oklch */ color: oklch(40.7% 0.105 256.6);
Tailwind
colors: {
custom: {
50: '#697ba6',
500: '#1f4981',
950: '#000000',
},
}SCSS
$custom: #1f4981; $custom-light: #697ba6; $custom-dark: #000000;
JSON
{
"hex": "#1f4981",
"rgb": {
"r": 31,
"g": 73,
"b": 129
},
"hsl": {
"h": 214.286,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.40659,
"c": 0.10518,
"h": 256.6
},
"luminance": 0.06641
}Semantic roles & 50–950 ramp
primary
#1F4981
secondary
#B48648
accent
#9F43E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F