#4E4FBA#4E4FBA
#4E4FBA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.165 H 278.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4FBA |
|---|---|
| RGB | rgb(78, 79, 186) |
| HSL | hsl(239, 44%, 52%) |
| HSV | hsv(239, 58%, 73%) |
| CMYK | cmyk(58.1%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(39.17, 31.20, -56.83) |
| CIE-LCH | lch(39.17, 64.83, 298.77°) |
| OKLab | oklab(48.81% 0.0229 -0.163) |
| OKLCH | oklch(48.81% 0.165 278) |
| XYZ | xyz(14.7980, 10.7558, 47.7411) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.00
Iris
#6258C4
ΔE00 4.25
Warm Blue
#4B57DB
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.57
Blue With A Hint Of Purple
#533CC6
ΔE00 5.80
Bluey Purple
#6241C7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4FBA #BAB94E
analogous
#4E85BA #4E4FBA #834EBA
triadic
#4E4FBA #BA4E4F #4FBA4E
tetradic
#4E4FBA #BA4E85 #BAB94E #4EBA83
square
#4E4FBA #BA4E85 #BAB94E #4EBA83
split-complementary
#4E4FBA #BA834E #85BA4E
monochromatic
#282866 #393A92 #4E4FBA #7A7BCB #A6A7DC
Accessibility & contrast
On white
6.66
#4E4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4E4FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E4FBA
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4FBA | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#06687D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4e4fba; /* rgb */ color: rgb(78, 79, 186); /* oklch */ color: oklch(48.8% 0.165 278.0);
Tailwind
colors: {
custom: {
50: '#8980cf',
500: '#4e4fba',
950: '#000000',
},
}SCSS
$custom: #4e4fba; $custom-light: #8980cf; $custom-dark: #000000;
JSON
{
"hex": "#4e4fba",
"rgb": {
"r": 78,
"g": 79,
"b": 186
},
"hsl": {
"h": 239.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.48811,
"c": 0.16465,
"h": 278
},
"luminance": 0.10757
}Semantic roles & 50–950 ramp
primary
#4E4FBA
secondary
#CAC99A
accent
#D254D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82