#1F3289#1F3289
#1F3289 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.146 H 268.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3289 |
|---|---|
| RGB | rgb(31, 50, 137) |
| HSL | hsl(229, 63%, 33%) |
| HSV | hsv(229, 77%, 54%) |
| CMYK | cmyk(77.4%, 63.5%, 0%, 46.3%) |
| CIE-LAB | lab(24.88, 25.26, -50.62) |
| CIE-LCH | lch(24.88, 56.58, 296.52°) |
| OKLab | oklab(36.22% -0.0041 -0.1463) |
| OKLCH | oklch(36.22% 0.146 268.4) |
| XYZ | xyz(6.2195, 4.3780, 24.1793) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.08
Blueberry
#464196
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.58
Marine
#042E60
ΔE00 7.45
Darkish Blue
#014182
ΔE00 7.48
Royal
#0C1793
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3289 #89761F
analogous
#1F6789 #1F3289 #411F89
triadic
#1F3289 #891F32 #32891F
tetradic
#1F3289 #891F67 #89761F #1F8941
square
#1F3289 #891F67 #89761F #1F8941
split-complementary
#1F3289 #89411F #67891F
monochromatic
#080E25 #142057 #1F3289 #2A44BB #4C65D6
Accessibility & contrast
On white
11.20
#1F3289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1F3289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3289
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3289 | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f3289; /* rgb */ color: rgb(31, 50, 137); /* oklch */ color: oklch(36.2% 0.146 268.4);
Tailwind
colors: {
custom: {
50: '#6c69ac',
500: '#1f3289',
950: '#000000',
},
}SCSS
$custom: #1f3289; $custom-light: #6c69ac; $custom-dark: #000000;
JSON
{
"hex": "#1f3289",
"rgb": {
"r": 31,
"g": 50,
"b": 137
},
"hsl": {
"h": 229.245,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.36223,
"c": 0.14637,
"h": 268.4
},
"luminance": 0.04379
}Semantic roles & 50–950 ramp
primary
#1F3289
secondary
#B9A54B
accent
#C942E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F