#1F3C96#1F3C96
#1F3C96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.152 H 265.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C96 |
|---|---|
| RGB | rgb(31, 60, 150) |
| HSL | hsl(225, 66%, 35%) |
| HSV | hsv(225, 79%, 59%) |
| CMYK | cmyk(79.3%, 60%, 0%, 41.2%) |
| CIE-LAB | lab(28.71, 23.50, -52.41) |
| CIE-LCH | lch(28.71, 57.43, 294.15°) |
| OKLab | oklab(39.42% -0.0108 -0.1514) |
| OKLCH | oklch(39.42% 0.152 265.9) |
| XYZ | xyz(7.6840, 5.7242, 29.5481) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 4.85
Darkish Blue
#014182
ΔE00 5.62
Blueberry
#464196
ΔE00 5.62
Twilight Blue
#0A437A
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C96 #96791F
analogous
#1F7796 #1F3C96 #3D1F96
triadic
#1F3C96 #961F3C #3C961F
tetradic
#1F3C96 #961F77 #96791F #1F963D
square
#1F3C96 #961F77 #96791F #1F963D
split-complementary
#1F3C96 #963D1F #77961F
monochromatic
#0A1331 #152863 #1F3C96 #2950C9 #5475DC
Accessibility & contrast
On white
9.79
#1F3C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#1F3C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C96
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C96 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3c96; /* rgb */ color: rgb(31, 60, 150); /* oklch */ color: oklch(39.4% 0.152 265.9);
Tailwind
colors: {
custom: {
50: '#6f71b6',
500: '#1f3c96',
950: '#000000',
},
}SCSS
$custom: #1f3c96; $custom-light: #6f71b6; $custom-dark: #000000;
JSON
{
"hex": "#1f3c96",
"rgb": {
"r": 31,
"g": 60,
"b": 150
},
"hsl": {
"h": 225.378,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.39416,
"c": 0.15179,
"h": 265.9
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#1F3C96
secondary
#BFA452
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80