#1F2D79#1F2D79
#1F2D79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.130 H 269.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D79 |
|---|---|
| RGB | rgb(31, 45, 121) |
| HSL | hsl(231, 59%, 30%) |
| HSV | hsv(231, 74%, 47%) |
| CMYK | cmyk(74.4%, 62.8%, 0%, 52.5%) |
| CIE-LAB | lab(22.12, 22.47, -45.07) |
| CIE-LCH | lch(22.12, 50.36, 296.49°) |
| OKLab | oklab(33.73% -0.0002 -0.1301) |
| OKLCH | oklch(33.73% 0.13 269.9) |
| XYZ | xyz(4.9535, 3.5481, 18.5092) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.87
Marine
#042E60
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 7.39
Marine Blue
#01386A
ΔE00 7.60
Sapphire (survey)
#2138AB
ΔE00 7.70
Royal
#0C1793
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D79 #796B1F
analogous
#1F5A79 #1F2D79 #3E1F79
triadic
#1F2D79 #791F2D #2D791F
tetradic
#1F2D79 #791F5A #796B1F #1F793E
square
#1F2D79 #791F5A #796B1F #1F793E
split-complementary
#1F2D79 #793E1F #5A791F
monochromatic
#060918 #131B48 #1F2D79 #2B3FAA #4359CF
Accessibility & contrast
On white
12.28
#1F2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1F2D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D79
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D79 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f2d79; /* rgb */ color: rgb(31, 45, 121); /* oklch */ color: oklch(33.7% 0.130 269.9);
Tailwind
colors: {
custom: {
50: '#6865a0',
500: '#1f2d79',
950: '#000000',
},
}SCSS
$custom: #1f2d79; $custom-light: #6865a0; $custom-dark: #000000;
JSON
{
"hex": "#1f2d79",
"rgb": {
"r": 31,
"g": 45,
"b": 121
},
"hsl": {
"h": 230.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.33734,
"c": 0.13008,
"h": 269.9
},
"luminance": 0.03549
}Semantic roles & 50–950 ramp
primary
#1F2D79
secondary
#AC9D47
accent
#CA45E2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E