#1F2F79#1F2F79
#1F2F79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.127 H 269.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F79 |
|---|---|
| RGB | rgb(31, 47, 121) |
| HSL | hsl(229, 59%, 30%) |
| HSV | hsv(229, 74%, 47%) |
| CMYK | cmyk(74.4%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(22.67, 21.07, -44.17) |
| CIE-LCH | lch(22.67, 48.94, 295.50°) |
| OKLab | oklab(34.14% -0.0018 -0.1274) |
| OKLCH | oklch(34.14% 0.127 269.2) |
| XYZ | xyz(5.0316, 3.7043, 18.5353) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.70
Midnight Blue
#191970
ΔE00 6.56
Marine Blue
#01386A
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.29
Sapphire (survey)
#2138AB
ΔE00 7.61
Blueberry
#464196
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F79 #79691F
analogous
#1F5C79 #1F2F79 #3C1F79
triadic
#1F2F79 #791F2F #2F791F
tetradic
#1F2F79 #791F5C #79691F #1F793C
square
#1F2F79 #791F5C #79691F #1F793C
split-complementary
#1F2F79 #793C1F #5C791F
monochromatic
#060918 #131C48 #1F2F79 #2B42AA #435CCF
Accessibility & contrast
On white
12.06
#1F2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1F2F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F79
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F79 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2f79; /* rgb */ color: rgb(31, 47, 121); /* oklch */ color: oklch(34.1% 0.127 269.2);
Tailwind
colors: {
custom: {
50: '#6867a0',
500: '#1f2f79',
950: '#000000',
},
}SCSS
$custom: #1f2f79; $custom-light: #6867a0; $custom-dark: #000000;
JSON
{
"hex": "#1f2f79",
"rgb": {
"r": 31,
"g": 47,
"b": 121
},
"hsl": {
"h": 229.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.34144,
"c": 0.12743,
"h": 269.2
},
"luminance": 0.03705
}Semantic roles & 50–950 ramp
primary
#1F2F79
secondary
#AC9A47
accent
#C645E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E