#1F3773#1F3773
#1F3773 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.108 H 265.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3773 |
|---|---|
| RGB | rgb(31, 55, 115) |
| HSL | hsl(223, 58%, 29%) |
| HSV | hsv(223, 73%, 45%) |
| CMYK | cmyk(73%, 52.2%, 0%, 54.9%) |
| CIE-LAB | lab(24.52, 13.02, -37.36) |
| CIE-LCH | lch(24.52, 39.56, 289.21°) |
| OKLab | oklab(35.39% -0.0094 -0.1072) |
| OKLCH | oklch(35.39% 0.108 265) |
| XYZ | xyz(5.0247, 4.2610, 16.7740) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.22
Marine Blue
#01386A
ΔE00 4.33
Darkish Blue
#014182
ΔE00 5.24
Twilight Blue
#0A437A
ΔE00 5.86
Cobalt (survey)
#1E488F
ΔE00 6.47
Prussian Blue
#004577
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3773 #735B1F
analogous
#1F6173 #1F3773 #311F73
triadic
#1F3773 #731F37 #37731F
tetradic
#1F3773 #731F61 #735B1F #1F7331
square
#1F3773 #731F61 #735B1F #1F7331
split-complementary
#1F3773 #73311F #61731F
monochromatic
#060C18 #122043 #1F3773 #2C4EA3 #4168CC
Accessibility & contrast
On white
11.34
#1F3773 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F3773 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3773
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3773 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3773 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f3773; /* rgb */ color: rgb(31, 55, 115); /* oklch */ color: oklch(35.4% 0.108 265.0);
Tailwind
colors: {
custom: {
50: '#666d9c',
500: '#1f3773',
950: '#000000',
},
}SCSS
$custom: #1f3773; $custom-light: #666d9c; $custom-dark: #000000;
JSON
{
"hex": "#1f3773",
"rgb": {
"r": 31,
"g": 55,
"b": 115
},
"hsl": {
"h": 222.857,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.35386,
"c": 0.10766,
"h": 265
},
"luminance": 0.04261
}Semantic roles & 50–950 ramp
primary
#1F3773
secondary
#A78B47
accent
#B547E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E