#1E267F#1E267F
#1E267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.148 H 271.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1E267F |
|---|---|
| RGB | rgb(30, 38, 127) |
| HSL | hsl(235, 62%, 31%) |
| HSV | hsv(235, 76%, 50%) |
| CMYK | cmyk(76.4%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.80, 29.43, -51.03) |
| CIE-LCH | lch(20.80, 58.91, 299.97°) |
| OKLab | oklab(32.93% 0.0034 -0.1476) |
| OKLCH | oklch(32.93% 0.148 271.3) |
| XYZ | xyz(5.0580, 3.1940, 20.4245) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.87
Royal
#0C1793
ΔE00 5.07
Dark Royal Blue
#02066F
ΔE00 7.55
Sapphire (survey)
#2138AB
ΔE00 7.63
Darkblue
#00008B
ΔE00 7.89
Cobalt Blue
#030AA7
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E267F #7F771E
analogous
#1E567F #1E267F #471E7F
triadic
#1E267F #7F1E26 #267F1E
tetradic
#1E267F #7F1E56 #7F771E #1E7F47
square
#1E267F #7F1E56 #7F771E #1E7F47
split-complementary
#1E267F #7F471E #567F1E
monochromatic
#07081C #12174D #1E267F #2A35B1 #4450D3
Accessibility & contrast
On white
12.81
#1E267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1E267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E267F
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E267F | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1e267f; /* rgb */ color: rgb(30, 38, 127); /* oklch */ color: oklch(32.9% 0.148 271.3);
Tailwind
colors: {
custom: {
50: '#6a60a5',
500: '#1e267f',
950: '#000000',
},
}SCSS
$custom: #1e267f; $custom-light: #6a60a5; $custom-dark: #000000;
JSON
{
"hex": "#1e267f",
"rgb": {
"r": 30,
"g": 38,
"b": 127
},
"hsl": {
"h": 235.052,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.32929,
"c": 0.14765,
"h": 271.3
},
"luminance": 0.03195
}Semantic roles & 50–950 ramp
primary
#1E267F
secondary
#B2A947
accent
#D843E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F