#1E2870#1E2870
#1E2870 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.124 H 271.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2870 |
|---|---|
| RGB | rgb(30, 40, 112) |
| HSL | hsl(233, 58%, 28%) |
| HSV | hsv(233, 73%, 44%) |
| CMYK | cmyk(73.2%, 64.3%, 0%, 56.1%) |
| CIE-LAB | lab(19.90, 22.30, -42.93) |
| CIE-LCH | lch(19.90, 48.38, 297.45°) |
| OKLab | oklab(31.82% 0.0029 -0.1239) |
| OKLCH | oklch(31.82% 0.124 271.4) |
| XYZ | xyz(4.2179, 2.9630, 15.6757) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.61
Marine
#042E60
ΔE00 6.20
Royal
#0C1793
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 8.09
Darkslateblue
#483D8B
ΔE00 8.45
Marine Blue
#01386A
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2870 #70661E
analogous
#1E5170 #1E2870 #3D1E70
triadic
#1E2870 #701E28 #28701E
tetradic
#1E2870 #701E51 #70661E #1E703D
square
#1E2870 #701E51 #70661E #1E703D
split-complementary
#1E2870 #703D1E #51701E
monochromatic
#060918 #111740 #1E2870 #2B39A0 #3D4FCB
Accessibility & contrast
On white
13.19
#1E2870 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1E2870 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2870
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2870 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2870 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e2870; /* rgb */ color: rgb(30, 40, 112); /* oklch */ color: oklch(31.8% 0.124 271.4);
Tailwind
colors: {
custom: {
50: '#66619a',
500: '#1e2870',
950: '#000000',
},
}SCSS
$custom: #1e2870; $custom-light: #66619a; $custom-dark: #000000;
JSON
{
"hex": "#1e2870",
"rgb": {
"r": 30,
"g": 40,
"b": 112
},
"hsl": {
"h": 232.683,
"s": 57.746,
"l": 27.843
},
"oklch": {
"l": 0.31824,
"c": 0.12392,
"h": 271.4
},
"luminance": 0.02963
}Semantic roles & 50–950 ramp
primary
#1E2870
secondary
#A49946
accent
#CE47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E