#1F3B96#1F3B96
#1F3B96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.153 H 266.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3B96 |
|---|---|
| RGB | rgb(31, 59, 150) |
| HSL | hsl(226, 66%, 35%) |
| HSV | hsv(226, 79%, 59%) |
| CMYK | cmyk(79.3%, 60.7%, 0%, 41.2%) |
| CIE-LAB | lab(28.43, 24.19, -52.85) |
| CIE-LCH | lch(28.43, 58.12, 294.59°) |
| OKLab | oklab(39.21% -0.0101 -0.1527) |
| OKLCH | oklch(39.21% 0.153 266.2) |
| XYZ | xyz(7.6321, 5.6204, 29.5308) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 5.19
Blueberry
#464196
ΔE00 5.59
Darkish Blue
#014182
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3B96 #967A1F
analogous
#1F7796 #1F3B96 #3E1F96
triadic
#1F3B96 #961F3B #3B961F
tetradic
#1F3B96 #961F77 #967A1F #1F963E
square
#1F3B96 #961F77 #967A1F #1F963E
split-complementary
#1F3B96 #963E1F #77961F
monochromatic
#0A1331 #152763 #1F3B96 #294FC9 #5474DC
Accessibility & contrast
On white
9.89
#1F3B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1F3B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3B96
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3B96 | 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)
#004999
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3b96; /* rgb */ color: rgb(31, 59, 150); /* oklch */ color: oklch(39.2% 0.153 266.2);
Tailwind
colors: {
custom: {
50: '#6f70b6',
500: '#1f3b96',
950: '#000000',
},
}SCSS
$custom: #1f3b96; $custom-light: #6f70b6; $custom-dark: #000000;
JSON
{
"hex": "#1f3b96",
"rgb": {
"r": 31,
"g": 59,
"b": 150
},
"hsl": {
"h": 225.882,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.39213,
"c": 0.15306,
"h": 266.2
},
"luminance": 0.05621
}Semantic roles & 50–950 ramp
primary
#1F3B96
secondary
#BFA552
accent
#C13FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80