#4E52A2#4E52A2
#4E52A2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.127 H 278.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52A2 |
|---|---|
| RGB | rgb(78, 82, 162) |
| HSL | hsl(237, 35%, 47%) |
| HSV | hsv(237, 52%, 64%) |
| CMYK | cmyk(51.9%, 49.4%, 0%, 36.5%) |
| CIE-LAB | lab(38.31, 21.38, -44.00) |
| CIE-LCH | lch(38.31, 48.92, 295.92°) |
| OKLab | oklab(47.65% 0.0182 -0.1253) |
| OKLCH | oklch(47.65% 0.127 278.3) |
| XYZ | xyz(12.6787, 10.2622, 35.4881) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.29
Blueberry
#464196
ΔE00 5.42
Dusky Blue
#475F94
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.26
Iris
#6258C4
ΔE00 6.34
Dusk
#4E5481
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52A2 #A29E4E
analogous
#4E7CA2 #4E52A2 #744EA2
triadic
#4E52A2 #A24E52 #52A24E
tetradic
#4E52A2 #A24E7C #A29E4E #4EA274
square
#4E52A2 #A24E7C #A29E4E #4EA274
split-complementary
#4E52A2 #A2744E #7CA24E
monochromatic
#26284F #3A3D79 #4E52A2 #7276BB #9B9ECF
Accessibility & contrast
On white
6.88
#4E52A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4E52A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52A2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52A2 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#2557A0
Tritanopia (blue-blind)
#2B6372
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4e52a2; /* rgb */ color: rgb(78, 82, 162); /* oklch */ color: oklch(47.6% 0.127 278.3);
Tailwind
colors: {
custom: {
50: '#8682be',
500: '#4e52a2',
950: '#000000',
},
}SCSS
$custom: #4e52a2; $custom-light: #8682be; $custom-dark: #000000;
JSON
{
"hex": "#4e52a2",
"rgb": {
"r": 78,
"g": 82,
"b": 162
},
"hsl": {
"h": 237.143,
"s": 35,
"l": 47.059
},
"oklch": {
"l": 0.4765,
"c": 0.12663,
"h": 278.3
},
"luminance": 0.10263
}Semantic roles & 50–950 ramp
primary
#4E52A2
secondary
#BCBA90
accent
#C65DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81