#1E198F#1E198F
#1E198F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.181 H 272.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1E198F |
|---|---|
| RGB | rgb(30, 25, 143) |
| HSL | hsl(243, 70%, 33%) |
| HSV | hsv(243, 83%, 56%) |
| CMYK | cmyk(79%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(19.86, 42.73, -62.64) |
| CIE-LCH | lch(19.86, 75.83, 304.30°) |
| OKLab | oklab(32.78% 0.0063 -0.1813) |
| OKLCH | oklch(32.78% 0.181 272) |
| XYZ | xyz(5.8393, 2.9538, 26.2437) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.17
Cobalt Blue
#030AA7
ΔE00 3.76
Darkblue
#00008B
ΔE00 4.13
Royal Blue (survey)
#0504AA
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.87
Navy
#000080
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E198F #8A8F19
analogous
#194F8F #1E198F #59198F
triadic
#1E198F #8F1E19 #198F1E
tetradic
#1E198F #8F194F #8A8F19 #198F59
square
#1E198F #8F194F #8A8F19 #198F59
split-complementary
#1E198F #8F5919 #4F8F19
monochromatic
#080727 #13105B #1E198F #2922C3 #4B44DE
Accessibility & contrast
On white
13.20
#1E198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1E198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E198F
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E198F | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e198f; /* rgb */ color: rgb(30, 25, 143); /* oklch */ color: oklch(32.8% 0.181 272.0);
Tailwind
colors: {
custom: {
50: '#7059b1',
500: '#1e198f',
950: '#000000',
},
}SCSS
$custom: #1e198f; $custom-light: #7059b1; $custom-dark: #000000;
JSON
{
"hex": "#1e198f",
"rgb": {
"r": 30,
"g": 25,
"b": 143
},
"hsl": {
"h": 242.542,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.32783,
"c": 0.18139,
"h": 272
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#1E198F
secondary
#BABF44
accent
#ED3BE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980