#1E239E#1E239E
#1E239E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.191 H 270.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1E239E |
|---|---|
| RGB | rgb(30, 35, 158) |
| HSL | hsl(238, 68%, 37%) |
| HSV | hsv(238, 81%, 62%) |
| CMYK | cmyk(81%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(23.49, 42.37, -65.87) |
| CIE-LCH | lch(23.49, 78.32, 302.75°) |
| OKLab | oklab(35.85% 0.0001 -0.1908) |
| OKLCH | oklch(35.85% 0.191 270) |
| XYZ | xyz(7.3059, 3.9459, 32.7177) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.11
Cobalt Blue
#030AA7
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.83
Ultramarine
#2000B1
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E239E #9E991E
analogous
#1E639E #1E239E #591E9E
triadic
#1E239E #9E1E23 #239E1E
tetradic
#1E239E #9E1E63 #9E991E #1E9E59
square
#1E239E #9E1E63 #9E991E #1E9E59
split-complementary
#1E239E #9E591E #639E1E
monochromatic
#0A0C37 #14186B #1E239E #282ED1 #575DDF
Accessibility & contrast
On white
11.74
#1E239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1E239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E239E
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E239E | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA1
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1e239e; /* rgb */ color: rgb(30, 35, 158); /* oklch */ color: oklch(35.8% 0.191 270.0);
Tailwind
colors: {
custom: {
50: '#7360bc',
500: '#1e239e',
950: '#000000',
},
}SCSS
$custom: #1e239e; $custom-light: #7360bc; $custom-dark: #000000;
JSON
{
"hex": "#1e239e",
"rgb": {
"r": 30,
"g": 35,
"b": 158
},
"hsl": {
"h": 237.656,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.35846,
"c": 0.19079,
"h": 270
},
"luminance": 0.03947
}Semantic roles & 50–950 ramp
primary
#1E239E
secondary
#C3BE55
accent
#E43DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981