#1F3382#1F3382
#1F3382 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.135 H 268.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3382 |
|---|---|
| RGB | rgb(31, 51, 130) |
| HSL | hsl(228, 61%, 32%) |
| HSV | hsv(228, 76%, 51%) |
| CMYK | cmyk(76.2%, 60.8%, 0%, 49%) |
| CIE-LAB | lab(24.54, 21.82, -46.80) |
| CIE-LCH | lch(24.54, 51.64, 295.00°) |
| OKLab | oklab(35.78% -0.0048 -0.1351) |
| OKLCH | oklch(35.78% 0.135 268) |
| XYZ | xyz(5.7768, 4.2700, 21.6345) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.14
Marine
#042E60
ΔE00 6.35
Marine Blue
#01386A
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.75
Blueberry
#464196
ΔE00 6.80
Darkish Blue
#014182
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3382 #826E1F
analogous
#1F6582 #1F3382 #3D1F82
triadic
#1F3382 #821F33 #33821F
tetradic
#1F3382 #821F65 #826E1F #1F823D
square
#1F3382 #821F65 #826E1F #1F823D
split-complementary
#1F3382 #823D1F #65821F
monochromatic
#070C1F #132051 #1F3382 #2B46B3 #4864D3
Accessibility & contrast
On white
11.33
#1F3382 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F3382 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3382
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3382 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3382 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f3382; /* rgb */ color: rgb(31, 51, 130); /* oklch */ color: oklch(35.8% 0.135 268.0);
Tailwind
colors: {
custom: {
50: '#6a6aa7',
500: '#1f3382',
950: '#000000',
},
}SCSS
$custom: #1f3382; $custom-light: #6a6aa7; $custom-dark: #000000;
JSON
{
"hex": "#1f3382",
"rgb": {
"r": 31,
"g": 51,
"b": 130
},
"hsl": {
"h": 227.879,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.35782,
"c": 0.13517,
"h": 268
},
"luminance": 0.04271
}Semantic roles & 50–950 ramp
primary
#1F3382
secondary
#B59F48
accent
#C443E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F