#1F3296#1F3296
#1F3296 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.164 H 268.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3296 |
|---|---|
| RGB | rgb(31, 50, 150) |
| HSL | hsl(230, 66%, 35%) |
| HSV | hsv(230, 79%, 59%) |
| CMYK | cmyk(79.3%, 66.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.08, 30.27, -56.70) |
| CIE-LCH | lch(26.08, 64.27, 298.09°) |
| OKLab | oklab(37.47% -0.0045 -0.1641) |
| OKLCH | oklch(37.47% 0.164 268.4) |
| XYZ | xyz(7.2088, 4.7737, 29.3897) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Blueberry
#464196
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.72
Royal
#0C1793
ΔE00 6.85
Cobalt
#0047AB
ΔE00 7.54
Blue Blue
#2242C7
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3296 #96831F
analogous
#1F6D96 #1F3296 #471F96
triadic
#1F3296 #961F32 #32961F
tetradic
#1F3296 #961F6D #96831F #1F9647
square
#1F3296 #961F6D #96831F #1F9647
split-complementary
#1F3296 #96471F #6D961F
monochromatic
#0A1031 #152163 #1F3296 #2943C9 #5469DC
Accessibility & contrast
On white
10.74
#1F3296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1F3296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3296
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3296 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f3296; /* rgb */ color: rgb(31, 50, 150); /* oklch */ color: oklch(37.5% 0.164 268.4);
Tailwind
colors: {
custom: {
50: '#706ab6',
500: '#1f3296',
950: '#000000',
},
}SCSS
$custom: #1f3296; $custom-light: #706ab6; $custom-dark: #000000;
JSON
{
"hex": "#1f3296",
"rgb": {
"r": 31,
"g": 50,
"b": 150
},
"hsl": {
"h": 230.42,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37472,
"c": 0.16416,
"h": 268.4
},
"luminance": 0.04775
}Semantic roles & 50–950 ramp
primary
#1F3296
secondary
#BFAE52
accent
#CE3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80