#1E3A98#1E3A98
#1E3A98 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.157 H 266.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3A98 |
|---|---|
| RGB | rgb(30, 58, 152) |
| HSL | hsl(226, 67%, 36%) |
| HSV | hsv(226, 80%, 60%) |
| CMYK | cmyk(80.3%, 61.8%, 0%, 40.4%) |
| CIE-LAB | lab(28.30, 25.55, -54.30) |
| CIE-LCH | lch(28.30, 60.01, 295.20°) |
| OKLab | oklab(39.15% -0.0103 -0.157) |
| OKLCH | oklch(39.15% 0.157 266.3) |
| XYZ | xyz(7.7140, 5.5682, 30.3679) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Cobalt
#0047AB
ΔE00 5.13
Cobalt (survey)
#1E488F
ΔE00 5.61
Blueberry
#464196
ΔE00 5.62
Darkish Blue
#014182
ΔE00 6.27
Blue Blue
#2242C7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3A98 #987C1E
analogous
#1E7798 #1E3A98 #3F1E98
triadic
#1E3A98 #981E3A #3A981E
tetradic
#1E3A98 #981E77 #987C1E #1E983F
square
#1E3A98 #981E77 #987C1E #1E983F
split-complementary
#1E3A98 #983F1E #77981E
monochromatic
#0A1332 #142665 #1E3A98 #284ECB #5373DD
Accessibility & contrast
On white
9.93
#1E3A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1E3A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3A98
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3A98 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1e3a98; /* rgb */ color: rgb(30, 58, 152); /* oklch */ color: oklch(39.2% 0.157 266.3);
Tailwind
colors: {
custom: {
50: '#6f6fb7',
500: '#1e3a98',
950: '#000000',
},
}SCSS
$custom: #1e3a98; $custom-light: #6f6fb7; $custom-dark: #000000;
JSON
{
"hex": "#1e3a98",
"rgb": {
"r": 30,
"g": 58,
"b": 152
},
"hsl": {
"h": 226.23,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.39152,
"c": 0.15734,
"h": 266.3
},
"luminance": 0.05569
}Semantic roles & 50–950 ramp
primary
#1E3A98
secondary
#C0A751
accent
#C23EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80