#1F3D8F#1F3D8F
#1F3D8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.141 H 265.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3D8F |
|---|---|
| RGB | rgb(31, 61, 143) |
| HSL | hsl(224, 64%, 34%) |
| HSV | hsv(224, 78%, 56%) |
| CMYK | cmyk(78.3%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.41, 20.04, -48.59) |
| CIE-LCH | lch(28.41, 52.56, 292.41°) |
| OKLab | oklab(39.01% -0.0119 -0.1402) |
| OKLCH | oklch(39.01% 0.141 265.2) |
| XYZ | xyz(7.1900, 5.6112, 26.6854) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.10
Darkish Blue
#014182
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.91
Sapphire (survey)
#2138AB
ΔE00 5.01
Twilight Blue
#0A437A
ΔE00 5.78
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3D8F #8F711F
analogous
#1F758F #1F3D8F #391F8F
triadic
#1F3D8F #8F1F3D #3D8F1F
tetradic
#1F3D8F #8F1F75 #8F711F #1F8F39
square
#1F3D8F #8F1F75 #8F711F #1F8F39
split-complementary
#1F3D8F #8F391F #758F1F
monochromatic
#09122A #14285D #1F3D8F #2A52C1 #4F74D9
Accessibility & contrast
On white
9.89
#1F3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1F3D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3D8F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3D8F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3d8f; /* rgb */ color: rgb(31, 61, 143); /* oklch */ color: oklch(39.0% 0.141 265.2);
Tailwind
colors: {
custom: {
50: '#6d72b0',
500: '#1f3d8f',
950: '#000000',
},
}SCSS
$custom: #1f3d8f; $custom-light: #6d72b0; $custom-dark: #000000;
JSON
{
"hex": "#1f3d8f",
"rgb": {
"r": 31,
"g": 61,
"b": 143
},
"hsl": {
"h": 223.929,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.39014,
"c": 0.14068,
"h": 265.2
},
"luminance": 0.05612
}Semantic roles & 50–950 ramp
primary
#1F3D8F
secondary
#BC9E4E
accent
#BB40E7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80