#1F3E8D#1F3E8D
#1F3E8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.137 H 264.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E8D |
|---|---|
| RGB | rgb(31, 62, 141) |
| HSL | hsl(223, 64%, 34%) |
| HSV | hsv(223, 78%, 55%) |
| CMYK | cmyk(78%, 56%, 0%, 44.7%) |
| CIE-LAB | lab(28.53, 18.55, -47.16) |
| CIE-LCH | lch(28.53, 50.68, 291.48°) |
| OKLab | oklab(39.06% -0.0128 -0.1359) |
| OKLCH | oklch(39.06% 0.137 264.6) |
| XYZ | xyz(7.0937, 5.6588, 25.9125) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.66
Darkish Blue
#014182
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.88
Twilight Blue
#0A437A
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.51
Marine Blue
#01386A
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E8D #8D6E1F
analogous
#1F758D #1F3E8D #371F8D
triadic
#1F3E8D #8D1F3E #3E8D1F
tetradic
#1F3E8D #8D1F75 #8D6E1F #1F8D37
square
#1F3E8D #8D1F75 #8D6E1F #1F8D37
split-complementary
#1F3E8D #8D371F #758D1F
monochromatic
#091229 #14285B #1F3E8D #2A54BF #4E75D8
Accessibility & contrast
On white
9.85
#1F3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1F3E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E8D
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E8D | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3e8d; /* rgb */ color: rgb(31, 62, 141); /* oklch */ color: oklch(39.1% 0.137 264.6);
Tailwind
colors: {
custom: {
50: '#6c72af',
500: '#1f3e8d',
950: '#000000',
},
}SCSS
$custom: #1f3e8d; $custom-light: #6c72af; $custom-dark: #000000;
JSON
{
"hex": "#1f3e8d",
"rgb": {
"r": 31,
"g": 62,
"b": 141
},
"hsl": {
"h": 223.091,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.39059,
"c": 0.13654,
"h": 264.6
},
"luminance": 0.0566
}Semantic roles & 50–950 ramp
primary
#1F3E8D
secondary
#BB9C4D
accent
#B841E7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F