#1F3C8D#1F3C8D
#1F3C8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.139 H 265.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C8D |
|---|---|
| RGB | rgb(31, 60, 141) |
| HSL | hsl(224, 64%, 34%) |
| HSV | hsv(224, 78%, 55%) |
| CMYK | cmyk(78%, 57.4%, 0%, 44.7%) |
| CIE-LAB | lab(27.97, 19.94, -48.08) |
| CIE-LCH | lch(27.97, 52.05, 292.52°) |
| OKLab | oklab(38.63% -0.0112 -0.1387) |
| OKLCH | oklch(38.63% 0.139 265.4) |
| XYZ | xyz(6.9870, 5.4453, 25.8770) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.38
Darkish Blue
#014182
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 5.13
Cobalt
#0047AB
ΔE00 5.30
Twilight Blue
#0A437A
ΔE00 5.85
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C8D #8D701F
analogous
#1F738D #1F3C8D #391F8D
triadic
#1F3C8D #8D1F3C #3C8D1F
tetradic
#1F3C8D #8D1F73 #8D701F #1F8D39
square
#1F3C8D #8D1F73 #8D701F #1F8D39
split-complementary
#1F3C8D #8D391F #738D1F
monochromatic
#091129 #14275B #1F3C8D #2A51BF #4E73D8
Accessibility & contrast
On white
10.05
#1F3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#1F3C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C8D
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C8D | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f3c8d; /* rgb */ color: rgb(31, 60, 141); /* oklch */ color: oklch(38.6% 0.139 265.4);
Tailwind
colors: {
custom: {
50: '#6c71af',
500: '#1f3c8d',
950: '#000000',
},
}SCSS
$custom: #1f3c8d; $custom-light: #6c71af; $custom-dark: #000000;
JSON
{
"hex": "#1f3c8d",
"rgb": {
"r": 31,
"g": 60,
"b": 141
},
"hsl": {
"h": 224.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.38631,
"c": 0.13915,
"h": 265.4
},
"luminance": 0.05446
}Semantic roles & 50–950 ramp
primary
#1F3C8D
secondary
#BB9E4D
accent
#BB41E7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F