#1E258F#1E258F
#1E258F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.170 H 270.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1E258F |
|---|---|
| RGB | rgb(30, 37, 143) |
| HSL | hsl(236, 65%, 34%) |
| HSV | hsv(236, 79%, 56%) |
| CMYK | cmyk(79%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(22.24, 35.95, -58.71) |
| CIE-LCH | lch(22.24, 68.84, 301.48°) |
| OKLab | oklab(34.46% 0.0018 -0.17) |
| OKLCH | oklch(34.46% 0.17 270.6) |
| XYZ | xyz(6.1532, 3.5816, 26.3483) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 5.81
Sapphire (survey)
#2138AB
ΔE00 6.22
Royal Blue (survey)
#0504AA
ΔE00 6.41
Indigo Blue
#3A18B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E258F #8F881E
analogous
#1E5E8F #1E258F #501E8F
triadic
#1E258F #8F1E25 #258F1E
tetradic
#1E258F #8F1E5E #8F881E #1E8F50
square
#1E258F #8F1E5E #8F881E #1E8F50
split-complementary
#1E258F #8F501E #5E8F1E
monochromatic
#090B2A #13185C #1E258F #2932C2 #4E56DA
Accessibility & contrast
On white
12.23
#1E258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1E258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E258F
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E258F | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e258f; /* rgb */ color: rgb(30, 37, 143); /* oklch */ color: oklch(34.5% 0.170 270.6);
Tailwind
colors: {
custom: {
50: '#6f60b1',
500: '#1e258f',
950: '#000000',
},
}SCSS
$custom: #1e258f; $custom-light: #6f60b1; $custom-dark: #000000;
JSON
{
"hex": "#1e258f",
"rgb": {
"r": 30,
"g": 37,
"b": 143
},
"hsl": {
"h": 236.283,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.34462,
"c": 0.17,
"h": 270.6
},
"luminance": 0.03582
}Semantic roles & 50–950 ramp
primary
#1E258F
secondary
#BCB64C
accent
#DE40E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980