#4E50AA#4E50AA

#4E50AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.141 H 278.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4E50AA
RGBrgb(78, 80, 170)
HSLhsl(239, 37%, 49%)
HSVhsv(239, 54%, 67%)
CMYKcmyk(54.1%, 52.9%, 0%, 33.3%)
CIE-LABlab(38.30, 25.29, -48.78)
CIE-LCHlch(38.30, 54.94, 297.40°)
OKLaboklab(47.81% 0.0213 -0.1394)
OKLCHoklch(47.81% 0.141 278.7)
XYZxyz(13.2640, 10.2585, 39.3036)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E50AA #AAA84E
analogous
#4E7EAA #4E50AA #7A4EAA
triadic
#4E50AA #AA4E50 #50AA4E
tetradic
#4E50AA #AA4E7E #AAA84E #4EAA7A
square
#4E50AA #AA4E7E #AAA84E #4EAA7A
split-complementary
#4E50AA #AA7A4E #7EAA4E
monochromatic
#282956 #3B3C80 #4E50AA #7577C0 #9FA0D3

Accessibility & contrast

On white

6.88
#4E50AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E50AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E50AA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E50AA#FFFFFF#000000##FFFFFF
##4E50AA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#1057A8
Tritanopia (blue-blind)
#246475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e50aa;
/* rgb */ color: rgb(78, 80, 170);
/* oklch */ color: oklch(47.8% 0.141 278.7);
Tailwind
colors: {
  custom: {
    50: '#8781c4',
    500: '#4e50aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e50aa;
$custom-light: #8781c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e50aa",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 238.696,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.14098,
    "h": 278.7
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#4E50AA
secondary
#C0BF94
accent
#CB5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E50AA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E50AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva