#1F3196#1F3196
#1F3196 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.165 H 268.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3196 |
|---|---|
| RGB | rgb(31, 49, 150) |
| HSL | hsl(231, 66%, 35%) |
| HSV | hsv(231, 79%, 59%) |
| CMYK | cmyk(79.3%, 67.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.83, 30.93, -57.11) |
| CIE-LCH | lch(25.83, 64.95, 298.44°) |
| OKLab | oklab(37.29% -0.004 -0.1653) |
| OKLCH | oklch(37.29% 0.165 268.6) |
| XYZ | xyz(7.1665, 4.6891, 29.3756) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.39
Blueberry
#464196
ΔE00 6.30
Royal
#0C1793
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.80
Cobalt
#0047AB
ΔE00 7.82
Indigo Blue
#3A18B1
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3196 #96841F
analogous
#1F6D96 #1F3196 #481F96
triadic
#1F3196 #961F31 #31961F
tetradic
#1F3196 #961F6D #96841F #1F9648
square
#1F3196 #961F6D #96841F #1F9648
split-complementary
#1F3196 #96481F #6D961F
monochromatic
#0A1031 #152063 #1F3196 #2942C9 #5468DC
Accessibility & contrast
On white
10.84
#1F3196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1F3196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3196
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3196 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f3196; /* rgb */ color: rgb(31, 49, 150); /* oklch */ color: oklch(37.3% 0.165 268.6);
Tailwind
colors: {
custom: {
50: '#7069b6',
500: '#1f3196',
950: '#000000',
},
}SCSS
$custom: #1f3196; $custom-light: #7069b6; $custom-dark: #000000;
JSON
{
"hex": "#1f3196",
"rgb": {
"r": 31,
"g": 49,
"b": 150
},
"hsl": {
"h": 230.924,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37289,
"c": 0.16536,
"h": 268.6
},
"luminance": 0.0469
}Semantic roles & 50–950 ramp
primary
#1F3196
secondary
#BFAE52
accent
#CF3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80