#1F2E79#1F2E79
#1F2E79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.129 H 269.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E79 |
|---|---|
| RGB | rgb(31, 46, 121) |
| HSL | hsl(230, 59%, 30%) |
| HSV | hsv(230, 74%, 47%) |
| CMYK | cmyk(74.4%, 62%, 0%, 52.5%) |
| CIE-LAB | lab(22.39, 21.77, -44.62) |
| CIE-LCH | lch(22.39, 49.65, 296.00°) |
| OKLab | oklab(33.94% -0.001 -0.1287) |
| OKLCH | oklch(33.94% 0.129 269.6) |
| XYZ | xyz(4.9921, 3.6253, 18.5221) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.21
Marine Blue
#01386A
ΔE00 7.30
Darkslateblue
#483D8B
ΔE00 7.33
Sapphire (survey)
#2138AB
ΔE00 7.65
Blueberry
#464196
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E79 #796A1F
analogous
#1F5B79 #1F2E79 #3D1F79
triadic
#1F2E79 #791F2E #2E791F
tetradic
#1F2E79 #791F5B #796A1F #1F793D
square
#1F2E79 #791F5B #796A1F #1F793D
split-complementary
#1F2E79 #793D1F #5B791F
monochromatic
#060918 #131B48 #1F2E79 #2B41AA #435BCF
Accessibility & contrast
On white
12.17
#1F2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1F2E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E79
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E79 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2e79; /* rgb */ color: rgb(31, 46, 121); /* oklch */ color: oklch(33.9% 0.129 269.6);
Tailwind
colors: {
custom: {
50: '#6866a0',
500: '#1f2e79',
950: '#000000',
},
}SCSS
$custom: #1f2e79; $custom-light: #6866a0; $custom-dark: #000000;
JSON
{
"hex": "#1f2e79",
"rgb": {
"r": 31,
"g": 46,
"b": 121
},
"hsl": {
"h": 230,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.33937,
"c": 0.12875,
"h": 269.6
},
"luminance": 0.03626
}Semantic roles & 50–950 ramp
primary
#1F2E79
secondary
#AC9C47
accent
#C845E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E