#1E2383#1E2383
#1E2383 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.157 H 271.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2383 |
|---|---|
| RGB | rgb(30, 35, 131) |
| HSL | hsl(237, 63%, 32%) |
| HSV | hsv(237, 77%, 51%) |
| CMYK | cmyk(77.1%, 73.3%, 0%, 48.6%) |
| CIE-LAB | lab(20.50, 32.86, -54.06) |
| CIE-LCH | lch(20.50, 63.26, 301.29°) |
| OKLab | oklab(32.84% 0.0046 -0.1564) |
| OKLCH | oklch(32.84% 0.157 271.7) |
| XYZ | xyz(5.2318, 3.1162, 21.7941) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.61
Royal
#0C1793
ΔE00 3.88
Darkblue
#00008B
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.79
Dark Royal Blue
#02066F
ΔE00 6.83
Navy
#000080
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2383 #837E1E
analogous
#1E5683 #1E2383 #4C1E83
triadic
#1E2383 #831E23 #23831E
tetradic
#1E2383 #831E56 #837E1E #1E834C
square
#1E2383 #831E56 #837E1E #1E834C
split-complementary
#1E2383 #834C1E #56831E
monochromatic
#07081F #131651 #1E2383 #2930B5 #474ED5
Accessibility & contrast
On white
12.94
#1E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2383 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2383
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2383 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2383 | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2383; /* rgb */ color: rgb(30, 35, 131); /* oklch */ color: oklch(32.8% 0.157 271.7);
Tailwind
colors: {
custom: {
50: '#6c5ea8',
500: '#1e2383',
950: '#000000',
},
}SCSS
$custom: #1e2383; $custom-light: #6c5ea8; $custom-dark: #000000;
JSON
{
"hex": "#1e2383",
"rgb": {
"r": 30,
"g": 35,
"b": 131
},
"hsl": {
"h": 237.03,
"s": 62.733,
"l": 31.569
},
"oklch": {
"l": 0.32836,
"c": 0.15651,
"h": 271.7
},
"luminance": 0.03117
}Semantic roles & 50–950 ramp
primary
#1E2383
secondary
#B6B047
accent
#DE42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F