#4E52B1#4E52B1
#4E52B1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.148 H 277.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52B1 |
|---|---|
| RGB | rgb(78, 82, 177) |
| HSL | hsl(238, 39%, 50%) |
| HSV | hsv(238, 56%, 69%) |
| CMYK | cmyk(55.9%, 53.7%, 0%, 30.6%) |
| CIE-LAB | lab(39.29, 26.33, -51.33) |
| CIE-LCH | lch(39.29, 57.69, 297.15°) |
| OKLab | oklab(48.7% 0.0195 -0.1469) |
| OKLCH | oklch(48.7% 0.148 277.6) |
| XYZ | xyz(14.0925, 10.8277, 42.9338) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 6.03
Blueberry
#464196
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.60
Blue Blue
#2242C7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52B1 #B1AD4E
analogous
#4E83B1 #4E52B1 #7C4EB1
triadic
#4E52B1 #B14E52 #52B14E
tetradic
#4E52B1 #B14E83 #B1AD4E #4EB17C
square
#4E52B1 #B14E83 #B1AD4E #4EB17C
split-complementary
#4E52B1 #B17C4E #83B14E
monochromatic
#292B5C #3B3E87 #4E52B1 #787CC4 #A3A5D6
Accessibility & contrast
On white
6.63
#4E52B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4E52B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52B1
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52B1 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A61B4
Deuteranopia (green-blind)
#0159AF
Tritanopia (blue-blind)
#1A6879
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4e52b1; /* rgb */ color: rgb(78, 82, 177); /* oklch */ color: oklch(48.7% 0.148 277.6);
Tailwind
colors: {
custom: {
50: '#8882c9',
500: '#4e52b1',
950: '#000000',
},
}SCSS
$custom: #4e52b1; $custom-light: #8882c9; $custom-dark: #000000;
JSON
{
"hex": "#4e52b1",
"rgb": {
"r": 78,
"g": 82,
"b": 177
},
"hsl": {
"h": 237.576,
"s": 38.824,
"l": 50
},
"oklch": {
"l": 0.48701,
"c": 0.14816,
"h": 277.6
},
"luminance": 0.10829
}Semantic roles & 50–950 ramp
primary
#4E52B1
secondary
#C4C297
accent
#CA59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82