#1E197F#1E197F
#1E197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.162 H 273.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1E197F |
|---|---|
| RGB | rgb(30, 25, 127) |
| HSL | hsl(243, 67%, 30%) |
| HSV | hsv(243, 80%, 50%) |
| CMYK | cmyk(76.4%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.93, 37.42, -55.77) |
| CIE-LCH | lch(17.93, 67.16, 303.86°) |
| OKLab | oklab(30.88% 0.0102 -0.1613) |
| OKLCH | oklch(30.88% 0.162 273.6) |
| XYZ | xyz(4.7125, 2.5031, 20.3093) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 3.06
Dark Royal Blue
#02066F
ΔE00 4.52
Navy
#000080
ΔE00 4.56
Darkblue
#00008B
ΔE00 4.58
Deep Blue
#040273
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E197F #7A7F19
analogous
#19477F #1E197F #51197F
triadic
#1E197F #7F1E19 #197F1E
tetradic
#1E197F #7F1947 #7A7F19 #197F51
square
#1E197F #7F1947 #7A7F19 #197F51
split-complementary
#1E197F #7F5119 #477F19
monochromatic
#06051A #120F4C #1E197F #2A23B2 #423AD8
Accessibility & contrast
On white
13.99
#1E197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1E197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E197F
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E197F | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1e197f; /* rgb */ color: rgb(30, 25, 127); /* oklch */ color: oklch(30.9% 0.162 273.6);
Tailwind
colors: {
custom: {
50: '#6c58a5',
500: '#1e197f',
950: '#000000',
},
}SCSS
$custom: #1e197f; $custom-light: #6c58a5; $custom-dark: #000000;
JSON
{
"hex": "#1e197f",
"rgb": {
"r": 30,
"g": 25,
"b": 127
},
"hsl": {
"h": 242.941,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.30878,
"c": 0.16166,
"h": 273.6
},
"luminance": 0.02504
}Semantic roles & 50–950 ramp
primary
#1E197F
secondary
#AEB341
accent
#EA3EE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F