#1E1F7B#1E1F7B
#1E1F7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.150 H 273.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1F7B |
|---|---|
| RGB | rgb(30, 31, 123) |
| HSL | hsl(239, 61%, 30%) |
| HSV | hsv(239, 76%, 48%) |
| CMYK | cmyk(75.6%, 74.8%, 0%, 51.8%) |
| CIE-LAB | lab(18.74, 32.47, -51.89) |
| CIE-LCH | lch(18.74, 61.21, 302.04°) |
| OKLab | oklab(31.32% 0.008 -0.1501) |
| OKLCH | oklch(31.32% 0.15 273.1) |
| XYZ | xyz(4.5994, 2.6856, 19.0110) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.12
Royal
#0C1793
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 5.63
Deep Blue
#040273
ΔE00 6.10
Darkblue (survey)
#030764
ΔE00 6.19
Navy
#000080
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1F7B #7B7A1E
analogous
#1E4D7B #1E1F7B #4C1E7B
triadic
#1E1F7B #7B1E1F #1F7B1E
tetradic
#1E1F7B #7B1E4D #7B7A1E #1E7B4C
square
#1E1F7B #7B1E4D #7B7A1E #1E7B4C
split-complementary
#1E1F7B #7B4C1E #4D7B1E
monochromatic
#060619 #12134A #1E1F7B #2A2BAC #4244D1
Accessibility & contrast
On white
13.66
#1E1F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1E1F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1F7B
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1F7B | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1f7b; /* rgb */ color: rgb(30, 31, 123); /* oklch */ color: oklch(31.3% 0.150 273.1);
Tailwind
colors: {
custom: {
50: '#6a5ba2',
500: '#1e1f7b',
950: '#000000',
},
}SCSS
$custom: #1e1f7b; $custom-light: #6a5ba2; $custom-dark: #000000;
JSON
{
"hex": "#1e1f7b",
"rgb": {
"r": 30,
"g": 31,
"b": 123
},
"hsl": {
"h": 239.355,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.31315,
"c": 0.15033,
"h": 273.1
},
"luminance": 0.02686
}Semantic roles & 50–950 ramp
primary
#1E1F7B
secondary
#AEAD46
accent
#E244E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F