#1F2C70#1F2C70
#1F2C70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.118 H 270.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C70 |
|---|---|
| RGB | rgb(31, 44, 112) |
| HSL | hsl(230, 57%, 28%) |
| HSV | hsv(230, 72%, 44%) |
| CMYK | cmyk(72.3%, 60.7%, 0%, 56.1%) |
| CIE-LAB | lab(21.06, 19.63, -41.03) |
| CIE-LCH | lch(21.06, 45.48, 295.57°) |
| OKLab | oklab(32.71% 0.0006 -0.1182) |
| OKLCH | oklch(32.71% 0.118 270.3) |
| XYZ | xyz(4.3894, 3.2621, 15.7244) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.27
Midnight Blue
#191970
ΔE00 5.99
Marine Blue
#01386A
ΔE00 7.36
Navy Blue
#1B2A4A
ΔE00 7.53
Darkslateblue
#483D8B
ΔE00 8.06
Royal
#0C1793
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C70 #70631F
analogous
#1F5470 #1F2C70 #3A1F70
triadic
#1F2C70 #701F2C #2C701F
tetradic
#1F2C70 #701F54 #70631F #1F703A
square
#1F2C70 #701F54 #70631F #1F703A
split-complementary
#1F2C70 #703A1F #54701F
monochromatic
#070918 #121940 #1F2C70 #2C3FA0 #3F56CA
Accessibility & contrast
On white
12.71
#1F2C70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2C70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C70
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C70 | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2c70; /* rgb */ color: rgb(31, 44, 112); /* oklch */ color: oklch(32.7% 0.118 270.3);
Tailwind
colors: {
custom: {
50: '#66649a',
500: '#1f2c70',
950: '#000000',
},
}SCSS
$custom: #1f2c70; $custom-light: #66649a; $custom-dark: #000000;
JSON
{
"hex": "#1f2c70",
"rgb": {
"r": 31,
"g": 44,
"b": 112
},
"hsl": {
"h": 230.37,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.32708,
"c": 0.11821,
"h": 270.3
},
"luminance": 0.03263
}Semantic roles & 50–950 ramp
primary
#1F2C70
secondary
#A49547
accent
#C848E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E