#1F2B70#1F2B70
#1F2B70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.120 H 270.7°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B70 |
|---|---|
| RGB | rgb(31, 43, 112) |
| HSL | hsl(231, 57%, 28%) |
| HSV | hsv(231, 72%, 44%) |
| CMYK | cmyk(72.3%, 61.6%, 0%, 56.1%) |
| CIE-LAB | lab(20.78, 20.34, -41.48) |
| CIE-LCH | lch(20.78, 46.20, 296.11°) |
| OKLab | oklab(32.5% 0.0015 -0.1196) |
| OKLCH | oklch(32.5% 0.12 270.7) |
| XYZ | xyz(4.3526, 3.1885, 15.7121) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.52
Midnight Blue
#191970
ΔE00 5.63
Navy Blue
#1B2A4A
ΔE00 7.66
Marine Blue
#01386A
ΔE00 7.68
Darkslateblue
#483D8B
ΔE00 8.11
Royal
#0C1793
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B70 #70641F
analogous
#1F5370 #1F2B70 #3B1F70
triadic
#1F2B70 #701F2B #2B701F
tetradic
#1F2B70 #701F53 #70641F #1F703B
square
#1F2B70 #701F53 #70641F #1F703B
split-complementary
#1F2B70 #703B1F #53701F
monochromatic
#070918 #121940 #1F2B70 #2C3DA0 #3F54CA
Accessibility & contrast
On white
12.82
#1F2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1F2B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B70
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B70 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2b70; /* rgb */ color: rgb(31, 43, 112); /* oklch */ color: oklch(32.5% 0.120 270.7);
Tailwind
colors: {
custom: {
50: '#66649a',
500: '#1f2b70',
950: '#000000',
},
}SCSS
$custom: #1f2b70; $custom-light: #66649a; $custom-dark: #000000;
JSON
{
"hex": "#1f2b70",
"rgb": {
"r": 31,
"g": 43,
"b": 112
},
"hsl": {
"h": 231.111,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.32499,
"c": 0.11958,
"h": 270.7
},
"luminance": 0.03189
}Semantic roles & 50–950 ramp
primary
#1F2B70
secondary
#A49647
accent
#C948E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E