#4E4687#4E4687
#4E4687 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.5% C 0.105 H 286.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4687 |
|---|---|
| RGB | rgb(78, 70, 135) |
| HSL | hsl(247, 32%, 40%) |
| HSV | hsv(247, 48%, 53%) |
| CMYK | cmyk(42.2%, 48.1%, 0%, 47.1%) |
| CIE-LAB | lab(33.45, 20.52, -35.38) |
| CIE-LCH | lch(33.45, 40.90, 300.12°) |
| OKLab | oklab(43.45% 0.0303 -0.1001) |
| OKLCH | oklch(43.45% 0.105 286.8) |
| XYZ | xyz(9.7040, 7.7489, 23.9014) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.38
Twilight
#4E518B
ΔE00 3.97
Blueberry
#464196
ΔE00 4.11
Dusk
#4E5481
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 8.24
Rebeccapurple
#663399
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4687 #7F8746
analogous
#465E87 #4E4687 #6F4687
triadic
#4E4687 #874E46 #46874E
tetradic
#4E4687 #87465E #7F8746 #46876F
square
#4E4687 #87465E #7F8746 #46876F
split-complementary
#4E4687 #876F46 #5E8746
monochromatic
#1F1C36 #37315F #4E4687 #685EAC #8E87C1
Accessibility & contrast
On white
8.24
#4E4687 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#4E4687 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4687
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4687 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4687 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#3E5360
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4e4687; /* rgb */ color: rgb(78, 70, 135); /* oklch */ color: oklch(43.5% 0.105 286.8);
Tailwind
colors: {
custom: {
50: '#8379aa',
500: '#4e4687',
950: '#000000',
},
}SCSS
$custom: #4e4687; $custom-light: #8379aa; $custom-dark: #000000;
JSON
{
"hex": "#4e4687",
"rgb": {
"r": 78,
"g": 70,
"b": 135
},
"hsl": {
"h": 247.385,
"s": 31.707,
"l": 40.196
},
"oklch": {
"l": 0.43451,
"c": 0.10457,
"h": 286.8
},
"luminance": 0.07749
}Semantic roles & 50–950 ramp
primary
#4E4687
secondary
#A6AC7D
accent
#C860BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F