#1E2B8F#1E2B8F
#1E2B8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.163 H 269.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2B8F |
|---|---|
| RGB | rgb(30, 43, 143) |
| HSL | hsl(233, 65%, 34%) |
| HSV | hsv(233, 79%, 56%) |
| CMYK | cmyk(79%, 69.9%, 0%, 43.9%) |
| CIE-LAB | lab(23.63, 32.14, -56.42) |
| CIE-LCH | lch(23.63, 64.93, 299.67°) |
| OKLab | oklab(35.46% -0.0011 -0.1633) |
| OKLCH | oklch(35.46% 0.163 269.6) |
| XYZ | xyz(6.3555, 3.9862, 26.4157) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.08
Midnight Blue
#191970
ΔE00 6.21
Cobalt Blue
#030AA7
ΔE00 7.29
Darkslateblue
#483D8B
ΔE00 7.38
Blueberry
#464196
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2B8F #8F821E
analogous
#1E648F #1E2B8F #4A1E8F
triadic
#1E2B8F #8F1E2B #2B8F1E
tetradic
#1E2B8F #8F1E64 #8F821E #1E8F4A
square
#1E2B8F #8F1E64 #8F821E #1E8F4A
split-complementary
#1E2B8F #8F4A1E #648F1E
monochromatic
#090D2A #131C5C #1E2B8F #293AC2 #4E5EDA
Accessibility & contrast
On white
11.68
#1E2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1E2B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2B8F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2B8F | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1e2b8f; /* rgb */ color: rgb(30, 43, 143); /* oklch */ color: oklch(35.5% 0.163 269.6);
Tailwind
colors: {
custom: {
50: '#6e64b1',
500: '#1e2b8f',
950: '#000000',
},
}SCSS
$custom: #1e2b8f; $custom-light: #6e64b1; $custom-dark: #000000;
JSON
{
"hex": "#1e2b8f",
"rgb": {
"r": 30,
"g": 43,
"b": 143
},
"hsl": {
"h": 233.097,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.35462,
"c": 0.16333,
"h": 269.6
},
"luminance": 0.03987
}Semantic roles & 50–950 ramp
primary
#1E2B8F
secondary
#BCB04C
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80