#1F3E8F#1F3E8F
#1F3E8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.139 H 264.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E8F |
|---|---|
| RGB | rgb(31, 62, 143) |
| HSL | hsl(223, 64%, 34%) |
| HSV | hsv(223, 78%, 56%) |
| CMYK | cmyk(78.3%, 56.6%, 0%, 43.9%) |
| CIE-LAB | lab(28.69, 19.35, -48.13) |
| CIE-LCH | lch(28.69, 51.88, 291.90°) |
| OKLab | oklab(39.23% -0.0126 -0.1388) |
| OKLCH | oklch(39.23% 0.139 264.8) |
| XYZ | xyz(7.2439, 5.7189, 26.7034) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.74
Darkish Blue
#014182
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 5.21
Twilight Blue
#0A437A
ΔE00 5.51
Blueberry
#464196
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E8F #8F701F
analogous
#1F768F #1F3E8F #381F8F
triadic
#1F3E8F #8F1F3E #3E8F1F
tetradic
#1F3E8F #8F1F76 #8F701F #1F8F38
square
#1F3E8F #8F1F76 #8F701F #1F8F38
split-complementary
#1F3E8F #8F381F #768F1F
monochromatic
#09122A #14285D #1F3E8F #2A54C1 #4F76D9
Accessibility & contrast
On white
9.79
#1F3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#1F3E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E8F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E8F | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3e8f; /* rgb */ color: rgb(31, 62, 143); /* oklch */ color: oklch(39.2% 0.139 264.8);
Tailwind
colors: {
custom: {
50: '#6d72b0',
500: '#1f3e8f',
950: '#000000',
},
}SCSS
$custom: #1f3e8f; $custom-light: #6d72b0; $custom-dark: #000000;
JSON
{
"hex": "#1f3e8f",
"rgb": {
"r": 31,
"g": 62,
"b": 143
},
"hsl": {
"h": 223.393,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.39227,
"c": 0.13939,
"h": 264.8
},
"luminance": 0.0572
}Semantic roles & 50–950 ramp
primary
#1F3E8F
secondary
#BC9D4E
accent
#B940E7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80