#1F3089#1F3089
#1F3089 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.149 H 268.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3089 |
|---|---|
| RGB | rgb(31, 48, 137) |
| HSL | hsl(230, 63%, 33%) |
| HSV | hsv(230, 77%, 54%) |
| CMYK | cmyk(77.4%, 65%, 0%, 46.3%) |
| CIE-LAB | lab(24.36, 26.63, -51.49) |
| CIE-LCH | lch(24.36, 57.97, 297.35°) |
| OKLab | oklab(35.83% -0.0027 -0.1489) |
| OKLCH | oklch(35.83% 0.149 268.9) |
| XYZ | xyz(6.1358, 4.2107, 24.1514) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.18
Blueberry
#464196
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.70
Royal
#0C1793
ΔE00 6.91
Midnight Blue
#191970
ΔE00 6.98
Marine
#042E60
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3089 #89781F
analogous
#1F6589 #1F3089 #431F89
triadic
#1F3089 #891F30 #30891F
tetradic
#1F3089 #891F65 #89781F #1F8943
square
#1F3089 #891F65 #89781F #1F8943
split-complementary
#1F3089 #89431F #65891F
monochromatic
#080D25 #141F57 #1F3089 #2A41BB #4C62D6
Accessibility & contrast
On white
11.40
#1F3089 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F3089 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3089
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3089 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3089 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f3089; /* rgb */ color: rgb(31, 48, 137); /* oklch */ color: oklch(35.8% 0.149 268.9);
Tailwind
colors: {
custom: {
50: '#6c68ac',
500: '#1f3089',
950: '#000000',
},
}SCSS
$custom: #1f3089; $custom-light: #6c68ac; $custom-dark: #000000;
JSON
{
"hex": "#1f3089",
"rgb": {
"r": 31,
"g": 48,
"b": 137
},
"hsl": {
"h": 230.377,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.35834,
"c": 0.14889,
"h": 268.9
},
"luminance": 0.04211
}Semantic roles & 50–950 ramp
primary
#1F3089
secondary
#B9A74B
accent
#CC42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F