#1E137F#1E137F
#1E137F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.167 H 274.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1E137F |
|---|---|
| RGB | rgb(30, 19, 127) |
| HSL | hsl(246, 74%, 29%) |
| HSV | hsv(246, 85%, 50%) |
| CMYK | cmyk(76.4%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(16.86, 40.54, -57.54) |
| CIE-LCH | lch(16.86, 70.39, 305.16°) |
| OKLab | oklab(30.13% 0.0125 -0.1664) |
| OKLCH | oklch(30.13% 0.167 274.3) |
| XYZ | xyz(4.5978, 2.2736, 20.2711) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Midnight Blue
#191970
ΔE00 3.12
Navy
#000080
ΔE00 3.39
Darkblue
#00008B
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 3.69
Deep Blue
#040273
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E137F #747F13
analogous
#133E7F #1E137F #54137F
triadic
#1E137F #7F1E13 #137F1E
tetradic
#1E137F #7F133E #747F13 #137F54
square
#1E137F #7F133E #747F13 #137F54
split-complementary
#1E137F #7F5413 #3E7F13
monochromatic
#06041B #110B4A #1E137F #2B1BB4 #3F2DE0
Accessibility & contrast
On white
14.43
#1E137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1E137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E137F
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E137F | 1.00 | 14.43 | 1.45 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e137f; /* rgb */ color: rgb(30, 19, 127); /* oklch */ color: oklch(30.1% 0.167 274.3);
Tailwind
colors: {
custom: {
50: '#6c55a5',
500: '#1e137f',
950: '#000000',
},
}SCSS
$custom: #1e137f; $custom-light: #6c55a5; $custom-dark: #000000;
JSON
{
"hex": "#1e137f",
"rgb": {
"r": 30,
"g": 19,
"b": 127
},
"hsl": {
"h": 246.111,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30133,
"c": 0.16686,
"h": 274.3
},
"luminance": 0.02274
}Semantic roles & 50–950 ramp
primary
#1E137F
secondary
#A8B439
accent
#F137DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F