#1E2281#1E2281
#1E2281 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.155 H 272.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2281 |
|---|---|
| RGB | rgb(30, 34, 129) |
| HSL | hsl(238, 62%, 31%) |
| HSV | hsv(238, 77%, 51%) |
| CMYK | cmyk(76.7%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(20.06, 32.76, -53.52) |
| CIE-LCH | lch(20.06, 62.75, 301.47°) |
| OKLab | oklab(32.46% 0.0054 -0.1549) |
| OKLCH | oklch(32.46% 0.155 272) |
| XYZ | xyz(5.0686, 3.0045, 21.0774) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.23
Royal
#0C1793
ΔE00 3.91
Dark Royal Blue
#02066F
ΔE00 6.52
Darkblue
#00008B
ΔE00 6.61
Navy
#000080
ΔE00 6.74
Cobalt Blue
#030AA7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2281 #817D1E
analogous
#1E5381 #1E2281 #4B1E81
triadic
#1E2281 #811E22 #22811E
tetradic
#1E2281 #811E53 #817D1E #1E814B
square
#1E2281 #811E53 #817D1E #1E814B
split-complementary
#1E2281 #814B1E #53811E
monochromatic
#07081E #12154F #1E2281 #2A2FB3 #464BD4
Accessibility & contrast
On white
13.12
#1E2281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1E2281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2281
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2281 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e2281; /* rgb */ color: rgb(30, 34, 129); /* oklch */ color: oklch(32.5% 0.155 272.0);
Tailwind
colors: {
custom: {
50: '#6b5ea7',
500: '#1e2281',
950: '#000000',
},
}SCSS
$custom: #1e2281; $custom-light: #6b5ea7; $custom-dark: #000000;
JSON
{
"hex": "#1e2281",
"rgb": {
"r": 30,
"g": 34,
"b": 129
},
"hsl": {
"h": 237.576,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.32455,
"c": 0.15497,
"h": 272
},
"luminance": 0.03005
}Semantic roles & 50–950 ramp
primary
#1E2281
secondary
#B4B047
accent
#DF42E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F