#1E197B#1E197B
#1E197B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.157 H 274.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1E197B |
|---|---|
| RGB | rgb(30, 25, 123) |
| HSL | hsl(243, 66%, 29%) |
| HSV | hsv(243, 80%, 48%) |
| CMYK | cmyk(75.6%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.46, 36.06, -53.99) |
| CIE-LCH | lch(17.46, 64.93, 303.74°) |
| OKLab | oklab(30.41% 0.0111 -0.1562) |
| OKLCH | oklch(30.41% 0.157 274.1) |
| XYZ | xyz(4.4570, 2.4009, 18.9636) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.91
Royal
#0C1793
ΔE00 3.66
Dark Royal Blue
#02066F
ΔE00 4.30
Deep Blue
#040273
ΔE00 4.65
Navy
#000080
ΔE00 4.71
Darkblue
#00008B
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E197B #767B19
analogous
#19457B #1E197B #4F197B
triadic
#1E197B #7B1E19 #197B1E
tetradic
#1E197B #7B1945 #767B19 #197B4F
square
#1E197B #7B1945 #767B19 #197B4F
split-complementary
#1E197B #7B4F19 #457B19
monochromatic
#060519 #120F48 #1E197B #2A23AE #4038D7
Accessibility & contrast
On white
14.19
#1E197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1E197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E197B
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E197B | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e197b; /* rgb */ color: rgb(30, 25, 123); /* oklch */ color: oklch(30.4% 0.157 274.1);
Tailwind
colors: {
custom: {
50: '#6b58a2',
500: '#1e197b',
950: '#000000',
},
}SCSS
$custom: #1e197b; $custom-light: #6b58a2; $custom-dark: #000000;
JSON
{
"hex": "#1e197b",
"rgb": {
"r": 30,
"g": 25,
"b": 123
},
"hsl": {
"h": 243.061,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.30412,
"c": 0.15658,
"h": 274.1
},
"luminance": 0.02401
}Semantic roles & 50–950 ramp
primary
#1E197B
secondary
#AAAF40
accent
#E93FE0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F