#1E2F7E#1E2F7E
#1E2F7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.135 H 268.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F7E |
|---|---|
| RGB | rgb(30, 47, 126) |
| HSL | hsl(229, 62%, 31%) |
| HSV | hsv(229, 76%, 49%) |
| CMYK | cmyk(76.2%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.05, 22.90, -46.72) |
| CIE-LCH | lch(23.05, 52.03, 296.11°) |
| OKLab | oklab(34.55% -0.0028 -0.1349) |
| OKLCH | oklch(34.55% 0.135 268.8) |
| XYZ | xyz(5.3165, 3.8148, 20.1908) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.50
Sapphire (survey)
#2138AB
ΔE00 6.85
Darkslateblue
#483D8B
ΔE00 7.13
Marine Blue
#01386A
ΔE00 7.32
Blueberry
#464196
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F7E #7E6D1E
analogous
#1E5F7E #1E2F7E #3D1E7E
triadic
#1E2F7E #7E1E2F #2F7E1E
tetradic
#1E2F7E #7E1E5F #7E6D1E #1E7E3D
square
#1E2F7E #7E1E5F #7E6D1E #1E7E3D
split-complementary
#1E2F7E #7E3D1E #5F7E1E
monochromatic
#060A1B #121D4D #1E2F7E #2A41AF #445DD2
Accessibility & contrast
On white
11.91
#1E2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1E2F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F7E
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F7E | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1e2f7e; /* rgb */ color: rgb(30, 47, 126); /* oklch */ color: oklch(34.5% 0.135 268.8);
Tailwind
colors: {
custom: {
50: '#6967a4',
500: '#1e2f7e',
950: '#000000',
},
}SCSS
$custom: #1e2f7e; $custom-light: #6967a4; $custom-dark: #000000;
JSON
{
"hex": "#1e2f7e",
"rgb": {
"r": 30,
"g": 47,
"b": 126
},
"hsl": {
"h": 229.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.34548,
"c": 0.13495,
"h": 268.8
},
"luminance": 0.03815
}Semantic roles & 50–950 ramp
primary
#1E2F7E
secondary
#B19E47
accent
#C843E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F