#1F3496#1F3496
#1F3496 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.162 H 268.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3496 |
|---|---|
| RGB | rgb(31, 52, 150) |
| HSL | hsl(229, 66%, 35%) |
| HSV | hsv(229, 79%, 59%) |
| CMYK | cmyk(79.3%, 65.3%, 0%, 41.2%) |
| CIE-LAB | lab(26.59, 28.93, -55.87) |
| CIE-LCH | lch(26.59, 62.92, 297.38°) |
| OKLab | oklab(37.85% -0.0057 -0.1616) |
| OKLCH | oklch(37.85% 0.162 268) |
| XYZ | xyz(7.2962, 4.9485, 29.4189) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Blueberry
#464196
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.61
Cobalt
#0047AB
ΔE00 6.96
Royal
#0C1793
ΔE00 7.48
Cobalt (survey)
#1E488F
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3496 #96811F
analogous
#1F6F96 #1F3496 #461F96
triadic
#1F3496 #961F34 #34961F
tetradic
#1F3496 #961F6F #96811F #1F9646
square
#1F3496 #961F6F #96811F #1F9646
split-complementary
#1F3496 #96461F #6F961F
monochromatic
#0A1131 #152263 #1F3496 #2946C9 #546CDC
Accessibility & contrast
On white
10.55
#1F3496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1F3496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3496
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3496 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f3496; /* rgb */ color: rgb(31, 52, 150); /* oklch */ color: oklch(37.8% 0.162 268.0);
Tailwind
colors: {
custom: {
50: '#6f6bb6',
500: '#1f3496',
950: '#000000',
},
}SCSS
$custom: #1f3496; $custom-light: #6f6bb6; $custom-dark: #000000;
JSON
{
"hex": "#1f3496",
"rgb": {
"r": 31,
"g": 52,
"b": 150
},
"hsl": {
"h": 229.412,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37845,
"c": 0.16175,
"h": 268
},
"luminance": 0.04949
}Semantic roles & 50–950 ramp
primary
#1F3496
secondary
#BFAC52
accent
#CB3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80