#1E2F8C#1E2F8C
#1E2F8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.155 H 268.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F8C |
|---|---|
| RGB | rgb(30, 47, 140) |
| HSL | hsl(231, 65%, 33%) |
| HSV | hsv(231, 79%, 55%) |
| CMYK | cmyk(78.6%, 66.4%, 0%, 45.1%) |
| CIE-LAB | lab(24.33, 28.35, -53.40) |
| CIE-LCH | lch(24.33, 60.46, 297.96°) |
| OKLab | oklab(35.89% -0.0032 -0.1545) |
| OKLCH | oklch(35.89% 0.155 268.8) |
| XYZ | xyz(6.2839, 4.2018, 25.2857) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.87
Royal
#0C1793
ΔE00 6.40
Blueberry
#464196
ΔE00 6.80
Darkslateblue
#483D8B
ΔE00 6.87
Midnight Blue
#191970
ΔE00 6.89
Marine
#042E60
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F8C #8C7B1E
analogous
#1E668C #1E2F8C #441E8C
triadic
#1E2F8C #8C1E2F #2F8C1E
tetradic
#1E2F8C #8C1E66 #8C7B1E #1E8C44
square
#1E2F8C #8C1E66 #8C7B1E #1E8C44
split-complementary
#1E2F8C #8C441E #668C1E
monochromatic
#080D27 #131E5A #1E2F8C #2940BE #4C62D9
Accessibility & contrast
On white
11.41
#1E2F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1E2F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F8C
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F8C | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1e2f8c; /* rgb */ color: rgb(30, 47, 140); /* oklch */ color: oklch(35.9% 0.155 268.8);
Tailwind
colors: {
custom: {
50: '#6d67af',
500: '#1e2f8c',
950: '#000000',
},
}SCSS
$custom: #1e2f8c; $custom-light: #6d67af; $custom-dark: #000000;
JSON
{
"hex": "#1e2f8c",
"rgb": {
"r": 30,
"g": 47,
"b": 140
},
"hsl": {
"h": 230.727,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.35885,
"c": 0.15453,
"h": 268.8
},
"luminance": 0.04202
}Semantic roles & 50–950 ramp
primary
#1E2F8C
secondary
#BBAA4B
accent
#CE40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F