#1F3E7D#1F3E7D
#1F3E7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.113 H 262.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E7D |
|---|---|
| RGB | rgb(31, 62, 125) |
| HSL | hsl(220, 60%, 31%) |
| HSV | hsv(220, 75%, 49%) |
| CMYK | cmyk(75.2%, 50.4%, 0%, 51%) |
| CIE-LAB | lab(27.34, 12.13, -39.13) |
| CIE-LCH | lch(27.34, 40.97, 287.22°) |
| OKLab | oklab(37.77% -0.0146 -0.1123) |
| OKLCH | oklch(37.77% 0.113 262.6) |
| XYZ | xyz(5.9880, 5.2166, 20.0894) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.13
Cobalt (survey)
#1E488F
ΔE00 3.88
Twilight Blue
#0A437A
ΔE00 3.89
Marine Blue
#01386A
ΔE00 4.26
Prussian Blue
#004577
ΔE00 5.55
Marine
#042E60
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E7D #7D5E1F
analogous
#1F6D7D #1F3E7D #2F1F7D
triadic
#1F3E7D #7D1F3E #3E7D1F
tetradic
#1F3E7D #7D1F6D #7D5E1F #1F7D2F
square
#1F3E7D #7D1F6D #7D5E1F #1F7D2F
split-complementary
#1F3E7D #7D2F1F #6D7D1F
monochromatic
#070D1B #13264C #1F3E7D #2B56AE #4573D1
Accessibility & contrast
On white
10.28
#1F3E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1F3E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E7D
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E7D | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f3e7d; /* rgb */ color: rgb(31, 62, 125); /* oklch */ color: oklch(37.8% 0.113 262.6);
Tailwind
colors: {
custom: {
50: '#6872a3',
500: '#1f3e7d',
950: '#000000',
},
}SCSS
$custom: #1f3e7d; $custom-light: #6872a3; $custom-dark: #000000;
JSON
{
"hex": "#1f3e7d",
"rgb": {
"r": 31,
"g": 62,
"b": 125
},
"hsl": {
"h": 220.213,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.37774,
"c": 0.11327,
"h": 262.6
},
"luminance": 0.05217
}Semantic roles & 50–950 ramp
primary
#1F3E7D
secondary
#B08E48
accent
#AF44E3
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F