#1F3482#1F3482
#1F3482 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.134 H 267.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3482 |
|---|---|
| RGB | rgb(31, 52, 130) |
| HSL | hsl(227, 61%, 32%) |
| HSV | hsv(227, 76%, 51%) |
| CMYK | cmyk(76.2%, 60%, 0%, 49%) |
| CIE-LAB | lab(24.82, 21.13, -46.35) |
| CIE-LCH | lch(24.82, 50.94, 294.50°) |
| OKLab | oklab(35.99% -0.0056 -0.1337) |
| OKLCH | oklch(35.99% 0.134 267.6) |
| XYZ | xyz(5.8209, 4.3584, 21.6492) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.15
Marine
#042E60
ΔE00 6.25
Darkish Blue
#014182
ΔE00 6.47
Marine Blue
#01386A
ΔE00 6.50
Blueberry
#464196
ΔE00 6.76
Darkslateblue
#483D8B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3482 #826D1F
analogous
#1F6682 #1F3482 #3C1F82
triadic
#1F3482 #821F34 #34821F
tetradic
#1F3482 #821F66 #826D1F #1F823C
square
#1F3482 #821F66 #826D1F #1F823C
split-complementary
#1F3482 #823C1F #66821F
monochromatic
#070C1F #132051 #1F3482 #2B48B3 #4866D3
Accessibility & contrast
On white
11.22
#1F3482 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F3482 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3482
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3482 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3482 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f3482; /* rgb */ color: rgb(31, 52, 130); /* oklch */ color: oklch(36.0% 0.134 267.6);
Tailwind
colors: {
custom: {
50: '#6a6ba7',
500: '#1f3482',
950: '#000000',
},
}SCSS
$custom: #1f3482; $custom-light: #6a6ba7; $custom-dark: #000000;
JSON
{
"hex": "#1f3482",
"rgb": {
"r": 31,
"g": 52,
"b": 130
},
"hsl": {
"h": 227.273,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.35989,
"c": 0.13385,
"h": 267.6
},
"luminance": 0.04359
}Semantic roles & 50–950 ramp
primary
#1F3482
secondary
#B59E48
accent
#C243E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F