#1F3690#1F3690
#1F3690 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.151 H 267.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3690 |
|---|---|
| RGB | rgb(31, 54, 144) |
| HSL | hsl(228, 65%, 34%) |
| HSV | hsv(228, 78%, 56%) |
| CMYK | cmyk(78.5%, 62.5%, 0%, 43.5%) |
| CIE-LAB | lab(26.57, 25.25, -52.21) |
| CIE-LCH | lch(26.57, 57.99, 295.81°) |
| OKLab | oklab(37.67% -0.0069 -0.1509) |
| OKLCH | oklch(37.67% 0.151 267.4) |
| XYZ | xyz(6.9165, 4.9425, 26.9696) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.00
Blueberry
#464196
ΔE00 5.86
Darkslateblue
#483D8B
ΔE00 6.49
Cobalt (survey)
#1E488F
ΔE00 6.58
Cobalt
#0047AB
ΔE00 6.62
Darkish Blue
#014182
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3690 #90791F
analogous
#1F6E90 #1F3690 #411F90
triadic
#1F3690 #901F36 #36901F
tetradic
#1F3690 #901F6E #90791F #1F9041
square
#1F3690 #901F6E #90791F #1F9041
split-complementary
#1F3690 #90411F #6E901F
monochromatic
#09102B #14235E #1F3690 #2A49C2 #506CD9
Accessibility & contrast
On white
10.56
#1F3690 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1F3690 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3690
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3690 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3690 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f3690; /* rgb */ color: rgb(31, 54, 144); /* oklch */ color: oklch(37.7% 0.151 267.4);
Tailwind
colors: {
custom: {
50: '#6e6cb1',
500: '#1f3690',
950: '#000000',
},
}SCSS
$custom: #1f3690; $custom-light: #6e6cb1; $custom-dark: #000000;
JSON
{
"hex": "#1f3690",
"rgb": {
"r": 31,
"g": 54,
"b": 144
},
"hsl": {
"h": 227.788,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.37665,
"c": 0.15106,
"h": 267.4
},
"luminance": 0.04943
}Semantic roles & 50–950 ramp
primary
#1F3690
secondary
#BCA64E
accent
#C640E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80