#4E50BA#4E50BA
#4E50BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.163 H 277.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4E50BA |
|---|---|
| RGB | rgb(78, 80, 186) |
| HSL | hsl(239, 44%, 52%) |
| HSV | hsv(239, 58%, 73%) |
| CMYK | cmyk(58.1%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(39.41, 30.57, -56.43) |
| CIE-LCH | lch(39.41, 64.18, 298.45°) |
| OKLab | oklab(48.99% 0.0219 -0.1619) |
| OKLCH | oklch(48.99% 0.163 277.7) |
| XYZ | xyz(14.8706, 10.9011, 47.7654) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 5.98
Bluey Purple
#6241C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E50BA #BAB84E
analogous
#4E86BA #4E50BA #824EBA
triadic
#4E50BA #BA4E50 #50BA4E
tetradic
#4E50BA #BA4E86 #BAB84E #4EBA82
square
#4E50BA #BA4E86 #BAB84E #4EBA82
split-complementary
#4E50BA #BA824E #86BA4E
monochromatic
#282966 #393B92 #4E50BA #7A7CCB #A6A7DC
Accessibility & contrast
On white
6.60
#4E50BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#4E50BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E50BA
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E50BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E50BA | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#06697D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4e50ba; /* rgb */ color: rgb(78, 80, 186); /* oklch */ color: oklch(49.0% 0.163 277.7);
Tailwind
colors: {
custom: {
50: '#8981cf',
500: '#4e50ba',
950: '#000000',
},
}SCSS
$custom: #4e50ba; $custom-light: #8981cf; $custom-dark: #000000;
JSON
{
"hex": "#4e50ba",
"rgb": {
"r": 78,
"g": 80,
"b": 186
},
"hsl": {
"h": 238.889,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.48994,
"c": 0.16334,
"h": 277.7
},
"luminance": 0.10902
}Semantic roles & 50–950 ramp
primary
#4E50BA
secondary
#CAC99A
accent
#D154D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82