#1E2B8C#1E2B8C
#1E2B8C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.159 H 269.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2B8C |
|---|---|
| RGB | rgb(30, 43, 140) |
| HSL | hsl(233, 65%, 33%) |
| HSV | hsv(233, 79%, 55%) |
| CMYK | cmyk(78.6%, 69.3%, 0%, 45.1%) |
| CIE-LAB | lab(23.33, 31.02, -55.05) |
| CIE-LCH | lch(23.33, 63.18, 299.40°) |
| OKLab | oklab(35.15% -0.0008 -0.1593) |
| OKLCH | oklch(35.15% 0.159 269.7) |
| XYZ | xyz(6.1313, 3.8965, 25.2348) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.40
Midnight Blue
#191970
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 7.33
Blueberry
#464196
ΔE00 7.46
Cobalt Blue
#030AA7
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2B8C #8C7F1E
analogous
#1E628C #1E2B8C #481E8C
triadic
#1E2B8C #8C1E2B #2B8C1E
tetradic
#1E2B8C #8C1E62 #8C7F1E #1E8C48
square
#1E2B8C #8C1E62 #8C7F1E #1E8C48
split-complementary
#1E2B8C #8C481E #628C1E
monochromatic
#080C27 #131C5A #1E2B8C #293ABE #4C5CD9
Accessibility & contrast
On white
11.80
#1E2B8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1E2B8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2B8C
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2B8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2B8C | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1e2b8c; /* rgb */ color: rgb(30, 43, 140); /* oklch */ color: oklch(35.2% 0.159 269.7);
Tailwind
colors: {
custom: {
50: '#6d64af',
500: '#1e2b8c',
950: '#000000',
},
}SCSS
$custom: #1e2b8c; $custom-light: #6d64af; $custom-dark: #000000;
JSON
{
"hex": "#1e2b8c",
"rgb": {
"r": 30,
"g": 43,
"b": 140
},
"hsl": {
"h": 232.909,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.35154,
"c": 0.15933,
"h": 269.7
},
"luminance": 0.03897
}Semantic roles & 50–950 ramp
primary
#1E2B8C
secondary
#BBAE4B
accent
#D440E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F