#1F3973#1F3973
#1F3973 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.105 H 263.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3973 |
|---|---|
| RGB | rgb(31, 57, 115) |
| HSL | hsl(221, 58%, 29%) |
| HSV | hsv(221, 73%, 45%) |
| CMYK | cmyk(73%, 50.4%, 0%, 54.9%) |
| CIE-LAB | lab(25.12, 11.61, -36.38) |
| CIE-LCH | lch(25.12, 38.19, 287.69°) |
| OKLab | oklab(35.85% -0.0114 -0.1043) |
| OKLCH | oklch(35.85% 0.105 263.8) |
| XYZ | xyz(5.1216, 4.4548, 16.8063) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 3.89
Marine
#042E60
ΔE00 4.36
Darkish Blue
#014182
ΔE00 4.62
Twilight Blue
#0A437A
ΔE00 5.16
Cobalt (survey)
#1E488F
ΔE00 5.91
Prussian Blue
#004577
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3973 #73591F
analogous
#1F6373 #1F3973 #2F1F73
triadic
#1F3973 #731F39 #39731F
tetradic
#1F3973 #731F63 #73591F #1F732F
square
#1F3973 #731F63 #73591F #1F732F
split-complementary
#1F3973 #732F1F #63731F
monochromatic
#060C18 #122143 #1F3973 #2C51A3 #416CCC
Accessibility & contrast
On white
11.11
#1F3973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F3973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3973
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3973 | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#043872
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f3973; /* rgb */ color: rgb(31, 57, 115); /* oklch */ color: oklch(35.8% 0.105 263.8);
Tailwind
colors: {
custom: {
50: '#666e9c',
500: '#1f3973',
950: '#000000',
},
}SCSS
$custom: #1f3973; $custom-light: #666e9c; $custom-dark: #000000;
JSON
{
"hex": "#1f3973",
"rgb": {
"r": 31,
"g": 57,
"b": 115
},
"hsl": {
"h": 221.429,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.35848,
"c": 0.10496,
"h": 263.8
},
"luminance": 0.04455
}Semantic roles & 50–950 ramp
primary
#1F3973
secondary
#A78947
accent
#B147E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E