#1E2D7B#1E2D7B
#1E2D7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.133 H 269.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2D7B |
|---|---|
| RGB | rgb(30, 45, 123) |
| HSL | hsl(230, 61%, 30%) |
| HSV | hsv(230, 76%, 48%) |
| CMYK | cmyk(75.6%, 63.4%, 0%, 51.8%) |
| CIE-LAB | lab(22.24, 23.12, -46.15) |
| CIE-LCH | lch(22.24, 51.61, 296.61°) |
| OKLab | oklab(33.87% -0.0013 -0.1332) |
| OKLCH | oklch(33.87% 0.133 269.5) |
| XYZ | xyz(5.0477, 3.5823, 19.1605) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.87
Marine
#042E60
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 7.38
Sapphire (survey)
#2138AB
ΔE00 7.40
Royal
#0C1793
ΔE00 7.48
Marine Blue
#01386A
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2D7B #7B6C1E
analogous
#1E5B7B #1E2D7B #3E1E7B
triadic
#1E2D7B #7B1E2D #2D7B1E
tetradic
#1E2D7B #7B1E5B #7B6C1E #1E7B3E
square
#1E2D7B #7B1E5B #7B6C1E #1E7B3E
split-complementary
#1E2D7B #7B3E1E #5B7B1E
monochromatic
#060919 #121B4A #1E2D7B #2A3FAC #4259D1
Accessibility & contrast
On white
12.23
#1E2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1E2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2D7B
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2D7B | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e2d7b; /* rgb */ color: rgb(30, 45, 123); /* oklch */ color: oklch(33.9% 0.133 269.5);
Tailwind
colors: {
custom: {
50: '#6965a2',
500: '#1e2d7b',
950: '#000000',
},
}SCSS
$custom: #1e2d7b; $custom-light: #6965a2; $custom-dark: #000000;
JSON
{
"hex": "#1e2d7b",
"rgb": {
"r": 30,
"g": 45,
"b": 123
},
"hsl": {
"h": 230.323,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.33865,
"c": 0.13326,
"h": 269.5
},
"luminance": 0.03583
}Semantic roles & 50–950 ramp
primary
#1E2D7B
secondary
#AE9E46
accent
#CA44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F