#4E4892#4E4892
#4E4892 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.6% C 0.118 H 284.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4892 |
|---|---|
| RGB | rgb(78, 72, 146) |
| HSL | hsl(245, 34%, 43%) |
| HSV | hsv(245, 51%, 57%) |
| CMYK | cmyk(46.6%, 50.7%, 0%, 42.7%) |
| CIE-LAB | lab(34.66, 22.66, -40.19) |
| CIE-LCH | lch(34.66, 46.14, 299.41°) |
| OKLab | oklab(44.58% 0.0289 -0.1142) |
| OKLCH | oklch(44.58% 0.118 284.2) |
| XYZ | xyz(10.6460, 8.3293, 28.2353) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.77
Darkslateblue
#483D8B
ΔE00 3.40
Twilight
#4E518B
ΔE00 3.88
Ocean Blue
#4F42B5
ΔE00 6.34
Dusk
#4E5481
ΔE00 6.41
Sapphire (survey)
#2138AB
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4892 #8C9248
analogous
#486792 #4E4892 #734892
triadic
#4E4892 #924E48 #48924E
tetradic
#4E4892 #924867 #8C9248 #489273
square
#4E4892 #924867 #8C9248 #489273
split-complementary
#4E4892 #927348 #679248
monochromatic
#222040 #383469 #4E4892 #6B64B3 #928DC7
Accessibility & contrast
On white
7.88
#4E4892 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#4E4892 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4892
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4892 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4892 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#254F90
Tritanopia (blue-blind)
#385866
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4e4892; /* rgb */ color: rgb(78, 72, 146); /* oklch */ color: oklch(44.6% 0.118 284.2);
Tailwind
colors: {
custom: {
50: '#847bb2',
500: '#4e4892',
950: '#000000',
},
}SCSS
$custom: #4e4892; $custom-light: #847bb2; $custom-dark: #000000;
JSON
{
"hex": "#4e4892",
"rgb": {
"r": 78,
"g": 72,
"b": 146
},
"hsl": {
"h": 244.865,
"s": 33.945,
"l": 42.745
},
"oklch": {
"l": 0.44576,
"c": 0.11781,
"h": 284.2
},
"luminance": 0.0833
}Semantic roles & 50–950 ramp
primary
#4E4892
secondary
#AFB383
accent
#CA5EC1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80