#1F3290#1F3290
#1F3290 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.156 H 268.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3290 |
|---|---|
| RGB | rgb(31, 50, 144) |
| HSL | hsl(230, 65%, 34%) |
| HSV | hsv(230, 78%, 56%) |
| CMYK | cmyk(78.5%, 65.3%, 0%, 43.5%) |
| CIE-LAB | lab(25.52, 27.97, -53.93) |
| CIE-LCH | lch(25.52, 60.75, 297.42°) |
| OKLab | oklab(36.89% -0.0043 -0.156) |
| OKLCH | oklch(36.89% 0.156 268.4) |
| XYZ | xyz(6.7380, 4.5854, 26.9101) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Blueberry
#464196
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.59
Royal
#0C1793
ΔE00 7.09
Cobalt
#0047AB
ΔE00 7.73
Midnight Blue
#191970
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3290 #907D1F
analogous
#1F6A90 #1F3290 #451F90
triadic
#1F3290 #901F32 #32901F
tetradic
#1F3290 #901F6A #907D1F #1F9045
square
#1F3290 #901F6A #907D1F #1F9045
split-complementary
#1F3290 #90451F #6A901F
monochromatic
#090F2B #14215E #1F3290 #2A43C2 #5067D9
Accessibility & contrast
On white
10.95
#1F3290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1F3290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3290
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3290 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f3290; /* rgb */ color: rgb(31, 50, 144); /* oklch */ color: oklch(36.9% 0.156 268.4);
Tailwind
colors: {
custom: {
50: '#6e69b1',
500: '#1f3290',
950: '#000000',
},
}SCSS
$custom: #1f3290; $custom-light: #6e69b1; $custom-dark: #000000;
JSON
{
"hex": "#1f3290",
"rgb": {
"r": 31,
"g": 50,
"b": 144
},
"hsl": {
"h": 229.912,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.36889,
"c": 0.15604,
"h": 268.4
},
"luminance": 0.04586
}Semantic roles & 50–950 ramp
primary
#1F3290
secondary
#BCAA4E
accent
#CB40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80