#1F3583#1F3583
#1F3583 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.134 H 267.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3583 |
|---|---|
| RGB | rgb(31, 53, 131) |
| HSL | hsl(227, 62%, 32%) |
| HSV | hsv(227, 76%, 51%) |
| CMYK | cmyk(76.3%, 59.5%, 0%, 48.6%) |
| CIE-LAB | lab(25.19, 20.83, -46.38) |
| CIE-LCH | lch(25.19, 50.85, 294.18°) |
| OKLab | oklab(36.29% -0.0063 -0.1338) |
| OKLCH | oklch(36.29% 0.134 267.3) |
| XYZ | xyz(5.9335, 4.4756, 22.0195) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.02
Darkish Blue
#014182
ΔE00 6.19
Marine
#042E60
ΔE00 6.32
Marine Blue
#01386A
ΔE00 6.37
Cobalt (survey)
#1E488F
ΔE00 6.64
Blueberry
#464196
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3583 #836D1F
analogous
#1F6783 #1F3583 #3B1F83
triadic
#1F3583 #831F35 #35831F
tetradic
#1F3583 #831F67 #836D1F #1F833B
square
#1F3583 #831F67 #836D1F #1F833B
split-complementary
#1F3583 #833B1F #67831F
monochromatic
#080D20 #132152 #1F3583 #2B49B4 #4967D4
Accessibility & contrast
On white
11.08
#1F3583 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1F3583 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3583
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3583 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3583 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f3583; /* rgb */ color: rgb(31, 53, 131); /* oklch */ color: oklch(36.3% 0.134 267.3);
Tailwind
colors: {
custom: {
50: '#6a6ba8',
500: '#1f3583',
950: '#000000',
},
}SCSS
$custom: #1f3583; $custom-light: #6a6ba8; $custom-dark: #000000;
JSON
{
"hex": "#1f3583",
"rgb": {
"r": 31,
"g": 53,
"b": 131
},
"hsl": {
"h": 226.8,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.36287,
"c": 0.13398,
"h": 267.3
},
"luminance": 0.04476
}Semantic roles & 50–950 ramp
primary
#1F3583
secondary
#B69E48
accent
#C143E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F