#1E176F#1E176F
#1E176F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.143 H 276.0°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1E176F |
|---|---|
| RGB | rgb(30, 23, 111) |
| HSL | hsl(245, 66%, 26%) |
| HSV | hsv(245, 79%, 44%) |
| CMYK | cmyk(73%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(15.68, 33.08, -49.21) |
| CIE-LCH | lch(15.68, 59.29, 303.90°) |
| OKLab | oklab(28.74% 0.015 -0.1423) |
| OKLCH | oklch(28.74% 0.143 276) |
| XYZ | xyz(3.7101, 2.0362, 15.2333) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.90
Dark Royal Blue
#02066F
ΔE00 3.84
Darkblue (survey)
#030764
ΔE00 3.97
Deep Blue
#040273
ΔE00 4.46
Navy
#000080
ΔE00 5.25
Dark Indigo
#1F0954
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E176F #686F17
analogous
#173C6F #1E176F #4A176F
triadic
#1E176F #6F1E17 #176F1E
tetradic
#1E176F #6F173C #686F17 #176F4A
square
#1E176F #6F173C #686F17 #176F4A
split-complementary
#1E176F #6F4A17 #3C6F17
monochromatic
#070519 #100C3C #1E176F #2C22A2 #3A2DD3
Accessibility & contrast
On white
14.92
#1E176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1E176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E176F
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E176F | 1.00 | 14.92 | 1.41 | 14.92 |
| #FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1e176f; /* rgb */ color: rgb(30, 23, 111); /* oklch */ color: oklch(28.7% 0.143 276.0);
Tailwind
colors: {
custom: {
50: '#685699',
500: '#1e176f',
950: '#000000',
},
}SCSS
$custom: #1e176f; $custom-light: #685699; $custom-dark: #000000;
JSON
{
"hex": "#1e176f",
"rgb": {
"r": 30,
"g": 23,
"b": 111
},
"hsl": {
"h": 244.773,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.28743,
"c": 0.14305,
"h": 276
},
"luminance": 0.02037
}Semantic roles & 50–950 ramp
primary
#1E176F
secondary
#9DA53D
accent
#E93FDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E