#1E3F87#1E3F87
#1E3F87 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.127 H 263.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3F87 |
|---|---|
| RGB | rgb(30, 63, 135) |
| HSL | hsl(221, 64%, 32%) |
| HSV | hsv(221, 78%, 53%) |
| CMYK | cmyk(77.8%, 53.3%, 0%, 47.1%) |
| CIE-LAB | lab(28.33, 15.33, -43.78) |
| CIE-LCH | lch(28.33, 46.39, 289.29°) |
| OKLab | oklab(38.74% -0.015 -0.126) |
| OKLCH | oklch(38.74% 0.127 263.2) |
| XYZ | xyz(6.6845, 5.5796, 23.6416) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.16
Darkish Blue
#014182
ΔE00 3.26
Twilight Blue
#0A437A
ΔE00 4.32
Cobalt
#0047AB
ΔE00 5.28
Marine Blue
#01386A
ΔE00 5.30
Prussian Blue
#004577
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3F87 #87661E
analogous
#1E7387 #1E3F87 #321E87
triadic
#1E3F87 #871E3F #3F871E
tetradic
#1E3F87 #871E73 #87661E #1E8732
square
#1E3F87 #871E73 #87661E #1E8732
split-complementary
#1E3F87 #87321E #73871E
monochromatic
#081023 #132855 #1E3F87 #2956B9 #4975D7
Accessibility & contrast
On white
9.92
#1E3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1E3F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3F87
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3F87 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1e3f87; /* rgb */ color: rgb(30, 63, 135); /* oklch */ color: oklch(38.7% 0.127 263.2);
Tailwind
colors: {
custom: {
50: '#6a73aa',
500: '#1e3f87',
950: '#000000',
},
}SCSS
$custom: #1e3f87; $custom-light: #6a73aa; $custom-dark: #000000;
JSON
{
"hex": "#1e3f87",
"rgb": {
"r": 30,
"g": 63,
"b": 135
},
"hsl": {
"h": 221.143,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.38744,
"c": 0.12691,
"h": 263.2
},
"luminance": 0.0558
}Semantic roles & 50–950 ramp
primary
#1E3F87
secondary
#B99548
accent
#B341E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F