#1F3C8F#1F3C8F
#1F3C8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.142 H 265.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C8F |
|---|---|
| RGB | rgb(31, 60, 143) |
| HSL | hsl(224, 64%, 34%) |
| HSV | hsv(224, 78%, 56%) |
| CMYK | cmyk(78.3%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.13, 20.73, -49.05) |
| CIE-LCH | lch(28.13, 53.25, 292.91°) |
| OKLab | oklab(38.8% -0.0111 -0.1415) |
| OKLCH | oklch(38.8% 0.142 265.5) |
| XYZ | xyz(7.1371, 5.5054, 26.6678) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.82
Darkish Blue
#014182
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.14
Blueberry
#464196
ΔE00 5.95
Twilight Blue
#0A437A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C8F #8F721F
analogous
#1F748F #1F3C8F #3A1F8F
triadic
#1F3C8F #8F1F3C #3C8F1F
tetradic
#1F3C8F #8F1F74 #8F721F #1F8F3A
square
#1F3C8F #8F1F74 #8F721F #1F8F3A
split-complementary
#1F3C8F #8F3A1F #748F1F
monochromatic
#09122A #14275D #1F3C8F #2A51C1 #4F73D9
Accessibility & contrast
On white
9.99
#1F3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1F3C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C8F
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C8F | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f3c8f; /* rgb */ color: rgb(31, 60, 143); /* oklch */ color: oklch(38.8% 0.142 265.5);
Tailwind
colors: {
custom: {
50: '#6d71b0',
500: '#1f3c8f',
950: '#000000',
},
}SCSS
$custom: #1f3c8f; $custom-light: #6d71b0; $custom-dark: #000000;
JSON
{
"hex": "#1f3c8f",
"rgb": {
"r": 31,
"g": 60,
"b": 143
},
"hsl": {
"h": 224.464,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.38803,
"c": 0.14198,
"h": 265.5
},
"luminance": 0.05506
}Semantic roles & 50–950 ramp
primary
#1F3C8F
secondary
#BC9F4E
accent
#BC40E7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80