#1E2F7D#1E2F7D
#1E2F7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.134 H 268.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F7D |
|---|---|
| RGB | rgb(30, 47, 125) |
| HSL | hsl(229, 61%, 30%) |
| HSV | hsv(229, 76%, 49%) |
| CMYK | cmyk(76%, 62.4%, 0%, 51%) |
| CIE-LAB | lab(22.96, 22.51, -46.23) |
| CIE-LCH | lch(22.96, 51.42, 295.96°) |
| OKLab | oklab(34.46% -0.0028 -0.1335) |
| OKLCH | oklch(34.46% 0.134 268.8) |
| XYZ | xyz(5.2523, 3.7892, 19.8526) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.14
Midnight Blue
#191970
ΔE00 6.51
Sapphire (survey)
#2138AB
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.17
Marine Blue
#01386A
ΔE00 7.23
Blueberry
#464196
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F7D #7D6C1E
analogous
#1E5E7D #1E2F7D #3C1E7D
triadic
#1E2F7D #7D1E2F #2F7D1E
tetradic
#1E2F7D #7D1E5E #7D6C1E #1E7D3C
square
#1E2F7D #7D1E5E #7D6C1E #1E7D3C
split-complementary
#1E2F7D #7D3C1E #5E7D1E
monochromatic
#060A1A #121C4C #1E2F7D #2A42AE #435DD2
Accessibility & contrast
On white
11.95
#1E2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1E2F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F7D
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F7D | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1e2f7d; /* rgb */ color: rgb(30, 47, 125); /* oklch */ color: oklch(34.5% 0.134 268.8);
Tailwind
colors: {
custom: {
50: '#6967a3',
500: '#1e2f7d',
950: '#000000',
},
}SCSS
$custom: #1e2f7d; $custom-light: #6967a3; $custom-dark: #000000;
JSON
{
"hex": "#1e2f7d",
"rgb": {
"r": 30,
"g": 47,
"b": 125
},
"hsl": {
"h": 229.263,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.34455,
"c": 0.13352,
"h": 268.8
},
"luminance": 0.0379
}Semantic roles & 50–950 ramp
primary
#1E2F7D
secondary
#B09D46
accent
#C843E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F