#4E5796#4E5796
#4E5796 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.102 H 275.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5796 |
|---|---|
| RGB | rgb(78, 87, 150) |
| HSL | hsl(233, 32%, 45%) |
| HSV | hsv(233, 48%, 59%) |
| CMYK | cmyk(48%, 42%, 0%, 41.2%) |
| CIE-LAB | lab(38.96, 14.30, -35.76) |
| CIE-LCH | lch(38.96, 38.51, 291.79°) |
| OKLab | oklab(47.92% 0.0102 -0.1011) |
| OKLCH | oklch(47.92% 0.102 275.7) |
| XYZ | xyz(12.0534, 10.6374, 30.2664) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.80
Dusky Blue
#475F94
ΔE00 4.15
Dusk
#4E5481
ΔE00 4.27
Denim Blue
#3B5B92
ΔE00 5.31
Blueberry
#464196
ΔE00 7.36
Dusk Blue
#26538D
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5796 #968D4E
analogous
#4E7B96 #4E5796 #694E96
triadic
#4E5796 #964E57 #57964E
tetradic
#4E5796 #964E7B #968D4E #4E9669
square
#4E5796 #964E7B #968D4E #4E9669
split-complementary
#4E5796 #96694E #7B964E
monochromatic
#242845 #39406E #4E5796 #6E76B3 #969CC8
Accessibility & contrast
On white
6.71
#4E5796 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#4E5796 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5796
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5796 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#34646F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4e5796; /* rgb */ color: rgb(78, 87, 150); /* oklch */ color: oklch(47.9% 0.102 275.7);
Tailwind
colors: {
custom: {
50: '#8486b5',
500: '#4e5796',
950: '#000000',
},
}SCSS
$custom: #4e5796; $custom-light: #8486b5; $custom-dark: #000000;
JSON
{
"hex": "#4e5796",
"rgb": {
"r": 78,
"g": 87,
"b": 150
},
"hsl": {
"h": 232.5,
"s": 31.579,
"l": 44.706
},
"oklch": {
"l": 0.47918,
"c": 0.10163,
"h": 275.7
},
"luminance": 0.10638
}Semantic roles & 50–950 ramp
primary
#4E5796
secondary
#B5B08B
accent
#BB60C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80