#1E229E#1E229E
#1E229E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.192 H 270.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1E229E |
|---|---|
| RGB | rgb(30, 34, 158) |
| HSL | hsl(238, 68%, 37%) |
| HSV | hsv(238, 81%, 62%) |
| CMYK | cmyk(81%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(23.30, 42.93, -66.19) |
| CIE-LCH | lch(23.30, 78.89, 302.96°) |
| OKLab | oklab(35.71% 0.0004 -0.1917) |
| OKLCH | oklch(35.71% 0.192 270.1) |
| XYZ | xyz(7.2769, 3.8879, 32.7080) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.93
Cobalt Blue
#030AA7
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 4.32
Royal Blue (survey)
#0504AA
ΔE00 4.62
Ultramarine
#2000B1
ΔE00 5.02
Sapphire (survey)
#2138AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E229E #9E9A1E
analogous
#1E629E #1E229E #5A1E9E
triadic
#1E229E #9E1E22 #229E1E
tetradic
#1E229E #9E1E62 #9E9A1E #1E9E5A
square
#1E229E #9E1E62 #9E9A1E #1E9E5A
split-complementary
#1E229E #9E5A1E #629E1E
monochromatic
#0A0C37 #14176B #1E229E #282DD1 #575BDF
Accessibility & contrast
On white
11.81
#1E229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1E229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E229E
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E229E | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1e229e; /* rgb */ color: rgb(30, 34, 158); /* oklch */ color: oklch(35.7% 0.192 270.1);
Tailwind
colors: {
custom: {
50: '#735fbc',
500: '#1e229e',
950: '#000000',
},
}SCSS
$custom: #1e229e; $custom-light: #735fbc; $custom-dark: #000000;
JSON
{
"hex": "#1e229e",
"rgb": {
"r": 30,
"g": 34,
"b": 158
},
"hsl": {
"h": 238.125,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.35709,
"c": 0.19171,
"h": 270.1
},
"luminance": 0.03889
}Semantic roles & 50–950 ramp
primary
#1E229E
secondary
#C3BF55
accent
#E63DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981