#1F2C79#1F2C79
#1F2C79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.131 H 270.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C79 |
|---|---|
| RGB | rgb(31, 44, 121) |
| HSL | hsl(231, 59%, 30%) |
| HSV | hsv(231, 74%, 47%) |
| CMYK | cmyk(74.4%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(21.85, 23.16, -45.52) |
| CIE-LCH | lch(21.85, 51.07, 296.97°) |
| OKLab | oklab(33.53% 0.0006 -0.1314) |
| OKLCH | oklch(33.53% 0.131 270.3) |
| XYZ | xyz(4.9158, 3.4726, 18.4967) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.53
Marine
#042E60
ΔE00 6.31
Royal
#0C1793
ΔE00 7.43
Darkslateblue
#483D8B
ΔE00 7.46
Sapphire (survey)
#2138AB
ΔE00 7.76
Marine Blue
#01386A
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C79 #796C1F
analogous
#1F5979 #1F2C79 #3F1F79
triadic
#1F2C79 #791F2C #2C791F
tetradic
#1F2C79 #791F59 #796C1F #1F793F
square
#1F2C79 #791F59 #796C1F #1F793F
split-complementary
#1F2C79 #793F1F #59791F
monochromatic
#060918 #131A48 #1F2C79 #2B3EAA #4358CF
Accessibility & contrast
On white
12.39
#1F2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1F2C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C79
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C79 | 1.00 | 12.39 | 1.69 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2c79; /* rgb */ color: rgb(31, 44, 121); /* oklch */ color: oklch(33.5% 0.131 270.3);
Tailwind
colors: {
custom: {
50: '#6965a0',
500: '#1f2c79',
950: '#000000',
},
}SCSS
$custom: #1f2c79; $custom-light: #6965a0; $custom-dark: #000000;
JSON
{
"hex": "#1f2c79",
"rgb": {
"r": 31,
"g": 44,
"b": 121
},
"hsl": {
"h": 231.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.33532,
"c": 0.13139,
"h": 270.3
},
"luminance": 0.03473
}Semantic roles & 50–950 ramp
primary
#1F2C79
secondary
#AC9E47
accent
#CC45E2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E