#1F3C8E#1F3C8E
#1F3C8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.141 H 265.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C8E |
|---|---|
| RGB | rgb(31, 60, 142) |
| HSL | hsl(224, 64%, 34%) |
| HSV | hsv(224, 78%, 56%) |
| CMYK | cmyk(78.2%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(28.05, 20.34, -48.56) |
| CIE-LCH | lch(28.05, 52.65, 292.72°) |
| OKLab | oklab(38.72% -0.0112 -0.1401) |
| OKLCH | oklch(38.72% 0.141 265.4) |
| XYZ | xyz(7.0617, 5.4752, 26.2706) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.41
Darkish Blue
#014182
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.22
Twilight Blue
#0A437A
ΔE00 5.95
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C8E #8E711F
analogous
#1F748E #1F3C8E #3A1F8E
triadic
#1F3C8E #8E1F3C #3C8E1F
tetradic
#1F3C8E #8E1F74 #8E711F #1F8E3A
square
#1F3C8E #8E1F74 #8E711F #1F8E3A
split-complementary
#1F3C8E #8E3A1F #748E1F
monochromatic
#09122A #14275C #1F3C8E #2A51C0 #4F73D9
Accessibility & contrast
On white
10.02
#1F3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1F3C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C8E
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C8E | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f3c8e; /* rgb */ color: rgb(31, 60, 142); /* oklch */ color: oklch(38.7% 0.141 265.4);
Tailwind
colors: {
custom: {
50: '#6d71b0',
500: '#1f3c8e',
950: '#000000',
},
}SCSS
$custom: #1f3c8e; $custom-light: #6d71b0; $custom-dark: #000000;
JSON
{
"hex": "#1f3c8e",
"rgb": {
"r": 31,
"g": 60,
"b": 142
},
"hsl": {
"h": 224.324,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.38717,
"c": 0.14057,
"h": 265.4
},
"luminance": 0.05476
}Semantic roles & 50–950 ramp
primary
#1F3C8E
secondary
#BB9F4D
accent
#BC41E7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F