#4E50B9#4E50B9
#4E50B9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.162 H 277.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4E50B9 |
|---|---|
| RGB | rgb(78, 80, 185) |
| HSL | hsl(239, 43%, 52%) |
| HSV | hsv(239, 58%, 73%) |
| CMYK | cmyk(57.8%, 56.8%, 0%, 27.5%) |
| CIE-LAB | lab(39.34, 30.24, -55.96) |
| CIE-LCH | lch(39.34, 63.60, 298.39°) |
| OKLab | oklab(48.92% 0.0219 -0.1605) |
| OKLCH | oklch(48.92% 0.162 277.8) |
| XYZ | xyz(14.7647, 10.8588, 47.2074) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.18
Ocean Blue
#4F42B5
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 6.05
Bluey Purple
#6241C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E50B9 #B9B74E
analogous
#4E86B9 #4E50B9 #824EB9
triadic
#4E50B9 #B94E50 #50B94E
tetradic
#4E50B9 #B94E86 #B9B74E #4EB982
square
#4E50B9 #B94E86 #B9B74E #4EB982
split-complementary
#4E50B9 #B9824E #86B94E
monochromatic
#282965 #393B91 #4E50B9 #7A7BCA #A6A7DC
Accessibility & contrast
On white
6.62
#4E50B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4E50B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E50B9
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E50B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E50B9 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#09697C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4e50b9; /* rgb */ color: rgb(78, 80, 185); /* oklch */ color: oklch(48.9% 0.162 277.8);
Tailwind
colors: {
custom: {
50: '#8981cf',
500: '#4e50b9',
950: '#000000',
},
}SCSS
$custom: #4e50b9; $custom-light: #8981cf; $custom-dark: #000000;
JSON
{
"hex": "#4e50b9",
"rgb": {
"r": 78,
"g": 80,
"b": 185
},
"hsl": {
"h": 238.879,
"s": 43.32,
"l": 51.569
},
"oklch": {
"l": 0.48918,
"c": 0.16196,
"h": 277.8
},
"luminance": 0.1086
}Semantic roles & 50–950 ramp
primary
#4E50B9
secondary
#C9C89A
accent
#D155D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82