#4E579D#4E579D

#4E579D is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.4% C 0.112 H 275.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4E579D
RGBrgb(78, 87, 157)
HSLhsl(233, 34%, 46%)
HSVhsv(233, 50%, 62%)
CMYKcmyk(50.3%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.36, 16.55, -39.33)
CIE-LCHlch(39.36, 42.67, 292.82°)
OKLaboklab(48.35% 0.0114 -0.1116)
OKLCHoklch(48.35% 0.112 275.8)
XYZxyz(12.6340, 10.8697, 33.3241)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E579D #9D944E
analogous
#4E7E9D #4E579D #6C4E9D
triadic
#4E579D #9D4E57 #579D4E
tetradic
#4E579D #9D4E7E #9D944E #4E9D6C
square
#4E579D #9D4E7E #9D944E #4E9D6C
split-complementary
#4E579D #9D6C4E #7E9D4E
monochromatic
#252A4B #3A4074 #4E579D #7078B8 #999FCC

Accessibility & contrast

On white

6.62
#4E579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E579D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E579D#FFFFFF#000000##FFFFFF
##4E579D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#2F6672
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e579d;
/* rgb */ color: rgb(78, 87, 157);
/* oklch */ color: oklch(48.4% 0.112 275.8);
Tailwind
colors: {
  custom: {
    50: '#8586ba',
    500: '#4e579d',
    950: '#000000',
  },
}
SCSS
$custom: #4e579d;
$custom-light: #8586ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e579d",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 233.165,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.11215,
    "h": 275.8
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#4E579D
secondary
#B9B48E
accent
#BD5ECA
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E579D

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

Preview Lab → · Contrast checker → · Palette generator →

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