#4E52BC#4E52BC
#4E52BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.163 H 277.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4E52BC |
|---|---|
| RGB | rgb(78, 82, 188) |
| HSL | hsl(238, 45%, 52%) |
| HSV | hsv(238, 59%, 74%) |
| CMYK | cmyk(58.5%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(40.05, 29.98, -56.56) |
| CIE-LCH | lch(40.05, 64.01, 297.93°) |
| OKLab | oklab(49.52% 0.0199 -0.1622) |
| OKLCH | oklch(49.52% 0.163 277) |
| XYZ | xyz(15.2334, 11.2840, 48.9425) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.98
Slate Blue
#6A5ACD
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 6.04
Dark Periwinkle
#665FD1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E52BC #BCB84E
analogous
#4E89BC #4E52BC #814EBC
triadic
#4E52BC #BC4E52 #52BC4E
tetradic
#4E52BC #BC4E89 #BCB84E #4EBC81
square
#4E52BC #BC4E89 #BCB84E #4EBC81
split-complementary
#4E52BC #BC814E #89BC4E
monochromatic
#272A68 #383C95 #4E52BC #7A7DCD #A7A9DE
Accessibility & contrast
On white
6.45
#4E52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#4E52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E52BC
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E52BC | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4e52bc; /* rgb */ color: rgb(78, 82, 188); /* oklch */ color: oklch(49.5% 0.163 277.0);
Tailwind
colors: {
custom: {
50: '#8a82d1',
500: '#4e52bc',
950: '#000000',
},
}SCSS
$custom: #4e52bc; $custom-light: #8a82d1; $custom-dark: #000000;
JSON
{
"hex": "#4e52bc",
"rgb": {
"r": 78,
"g": 82,
"b": 188
},
"hsl": {
"h": 237.818,
"s": 45.082,
"l": 52.157
},
"oklch": {
"l": 0.49517,
"c": 0.16346,
"h": 277
},
"luminance": 0.11285
}Semantic roles & 50–950 ramp
primary
#4E52BC
secondary
#CBC99B
accent
#D053D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82