#1E2F7F#1E2F7F
#1E2F7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.136 H 268.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F7F |
|---|---|
| RGB | rgb(30, 47, 127) |
| HSL | hsl(229, 62%, 31%) |
| HSV | hsv(229, 76%, 50%) |
| CMYK | cmyk(76.4%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(23.14, 23.30, -47.21) |
| CIE-LCH | lch(23.14, 52.65, 296.26°) |
| OKLab | oklab(34.64% -0.0028 -0.1363) |
| OKLCH | oklch(34.64% 0.136 268.8) |
| XYZ | xyz(5.3814, 3.8408, 20.5323) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.41
Midnight Blue
#191970
ΔE00 6.50
Sapphire (survey)
#2138AB
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 7.08
Marine Blue
#01386A
ΔE00 7.41
Blueberry
#464196
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F7F #7F6E1E
analogous
#1E5F7F #1E2F7F #3E1E7F
triadic
#1E2F7F #7F1E2F #2F7F1E
tetradic
#1E2F7F #7F1E5F #7F6E1E #1E7F3E
square
#1E2F7F #7F1E5F #7F6E1E #1E7F3E
split-complementary
#1E2F7F #7F3E1E #5F7F1E
monochromatic
#070A1C #121D4D #1E2F7F #2A41B1 #445DD3
Accessibility & contrast
On white
11.88
#1E2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1E2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F7F
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F7F | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1e2f7f; /* rgb */ color: rgb(30, 47, 127); /* oklch */ color: oklch(34.6% 0.136 268.8);
Tailwind
colors: {
custom: {
50: '#6967a5',
500: '#1e2f7f',
950: '#000000',
},
}SCSS
$custom: #1e2f7f; $custom-light: #6967a5; $custom-dark: #000000;
JSON
{
"hex": "#1e2f7f",
"rgb": {
"r": 30,
"g": 47,
"b": 127
},
"hsl": {
"h": 229.485,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.34641,
"c": 0.13638,
"h": 268.8
},
"luminance": 0.03841
}Semantic roles & 50–950 ramp
primary
#1E2F7F
secondary
#B29F47
accent
#C843E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F