#1E2970#1E2970
#1E2970 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.123 H 271.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2970 |
|---|---|
| RGB | rgb(30, 41, 112) |
| HSL | hsl(232, 58%, 28%) |
| HSV | hsv(232, 73%, 44%) |
| CMYK | cmyk(73.2%, 63.4%, 0%, 56.1%) |
| CIE-LAB | lab(20.17, 21.60, -42.49) |
| CIE-LCH | lch(20.17, 47.66, 296.94°) |
| OKLab | oklab(32.03% 0.0021 -0.1226) |
| OKLCH | oklch(32.03% 0.123 271) |
| XYZ | xyz(4.2520, 3.0313, 15.6871) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.96
Marine
#042E60
ΔE00 5.93
Navy Blue
#1B2A4A
ΔE00 7.93
Royal
#0C1793
ΔE00 7.99
Marine Blue
#01386A
ΔE00 8.19
Darkslateblue
#483D8B
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2970 #70651E
analogous
#1E5270 #1E2970 #3C1E70
triadic
#1E2970 #701E29 #29701E
tetradic
#1E2970 #701E52 #70651E #1E703C
square
#1E2970 #701E52 #70651E #1E703C
split-complementary
#1E2970 #703C1E #52701E
monochromatic
#060918 #111740 #1E2970 #2B3BA0 #3D50CB
Accessibility & contrast
On white
13.07
#1E2970 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1E2970 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2970
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2970 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2970 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2970; /* rgb */ color: rgb(30, 41, 112); /* oklch */ color: oklch(32.0% 0.123 271.0);
Tailwind
colors: {
custom: {
50: '#66629a',
500: '#1e2970',
950: '#000000',
},
}SCSS
$custom: #1e2970; $custom-light: #66629a; $custom-dark: #000000;
JSON
{
"hex": "#1e2970",
"rgb": {
"r": 30,
"g": 41,
"b": 112
},
"hsl": {
"h": 231.951,
"s": 57.746,
"l": 27.843
},
"oklch": {
"l": 0.32027,
"c": 0.12258,
"h": 271
},
"luminance": 0.03032
}Semantic roles & 50–950 ramp
primary
#1E2970
secondary
#A49746
accent
#CC47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E