#1F4881#1F4881
#1F4881 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.106 H 257.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4881 |
|---|---|
| RGB | rgb(31, 72, 129) |
| HSL | hsl(215, 61%, 31%) |
| HSV | hsv(215, 76%, 51%) |
| CMYK | cmyk(76%, 44.2%, 0%, 49.4%) |
| CIE-LAB | lab(30.66, 6.87, -36.30) |
| CIE-LCH | lch(30.66, 36.94, 280.71°) |
| OKLab | oklab(40.42% -0.0234 -0.1038) |
| OKLCH | oklch(40.42% 0.106 257.3) |
| XYZ | xyz(6.8434, 6.5103, 21.6606) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.01
Twilight Blue
#0A437A
ΔE00 2.34
Darkish Blue
#014182
ΔE00 2.52
Prussian Blue
#004577
ΔE00 3.41
Dusk Blue
#26538D
ΔE00 3.75
Light Navy
#155084
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4881 #81581F
analogous
#1F7981 #1F4881 #271F81
triadic
#1F4881 #811F48 #48811F
tetradic
#1F4881 #811F79 #81581F #1F8127
square
#1F4881 #811F79 #81581F #1F8127
split-complementary
#1F4881 #81271F #79811F
monochromatic
#07111E #132C50 #1F4881 #2B64B2 #4782D3
Accessibility & contrast
On white
9.12
#1F4881 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F4881 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4881
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4881 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4881 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4D83
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4881; /* rgb */ color: rgb(31, 72, 129); /* oklch */ color: oklch(40.4% 0.106 257.3);
Tailwind
colors: {
custom: {
50: '#697aa6',
500: '#1f4881',
950: '#000000',
},
}SCSS
$custom: #1f4881; $custom-light: #697aa6; $custom-dark: #000000;
JSON
{
"hex": "#1f4881",
"rgb": {
"r": 31,
"g": 72,
"b": 129
},
"hsl": {
"h": 214.898,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.40419,
"c": 0.1064,
"h": 257.3
},
"luminance": 0.06511
}Semantic roles & 50–950 ramp
primary
#1F4881
secondary
#B48748
accent
#A143E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F