#1E126F#1E126F
#1E126F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.148 H 276.8°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1E126F |
|---|---|
| RGB | rgb(30, 18, 111) |
| HSL | hsl(248, 72%, 25%) |
| HSV | hsv(248, 84%, 44%) |
| CMYK | cmyk(73%, 83.8%, 0%, 56.5%) |
| CIE-LAB | lab(14.71, 35.84, -50.81) |
| CIE-LCH | lch(14.71, 62.18, 305.20°) |
| OKLab | oklab(28.07% 0.0176 -0.1468) |
| OKLCH | oklch(28.07% 0.148 276.8) |
| XYZ | xyz(3.6200, 1.8560, 15.2033) |
| Luminance | 0.0186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.97
Dark Royal Blue
#02066F
ΔE00 2.90
Darkblue (survey)
#030764
ΔE00 3.22
Deep Blue
#040273
ΔE00 3.43
Navy
#000080
ΔE00 4.34
Dark Blue
#00035B
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E126F #636F12
analogous
#12346F #1E126F #4C126F
triadic
#1E126F #6F1E12 #126F1E
tetradic
#1E126F #6F1234 #636F12 #126F4C
square
#1E126F #6F1234 #636F12 #126F4C
split-complementary
#1E126F #6F4C12 #346F12
monochromatic
#07041A #10093A #1E126F #2C1BA4 #3A23D8
Accessibility & contrast
On white
15.32
#1E126F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#1E126F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E126F
15.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E126F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E126F | 1.00 | 15.32 | 1.37 | 15.32 |
| #FFFFFF | 15.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #1e126f; /* rgb */ color: rgb(30, 18, 111); /* oklch */ color: oklch(28.1% 0.148 276.8);
Tailwind
colors: {
custom: {
50: '#685399',
500: '#1e126f',
950: '#000000',
},
}SCSS
$custom: #1e126f; $custom-light: #685399; $custom-dark: #000000;
JSON
{
"hex": "#1e126f",
"rgb": {
"r": 30,
"g": 18,
"b": 111
},
"hsl": {
"h": 247.742,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.28069,
"c": 0.14788,
"h": 276.8
},
"luminance": 0.01856
}Semantic roles & 50–950 ramp
primary
#1E126F
secondary
#98A637
accent
#EF39D7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E