#4E579B#4E579B

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

Color values

HEX#4E579B
RGBrgb(78, 87, 155)
HSLhsl(233, 33%, 46%)
HSVhsv(233, 50%, 61%)
CMYKcmyk(49.7%, 43.9%, 0%, 39.2%)
CIE-LABlab(39.24, 15.90, -38.32)
CIE-LCHlch(39.24, 41.49, 292.54°)
OKLaboklab(48.23% 0.0111 -0.1086)
OKLCHoklch(48.23% 0.109 275.8)
XYZxyz(12.4646, 10.8019, 32.4322)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E579B #9B924E
analogous
#4E7D9B #4E579B #6B4E9B
triadic
#4E579B #9B4E57 #579B4E
tetradic
#4E579B #9B4E7D #9B924E #4E9B6B
square
#4E579B #9B4E7D #9B924E #4E9B6B
split-complementary
#4E579B #9B6B4E #7D9B4E
monochromatic
#25294A #3A4072 #4E579B #6F78B7 #989ECB

Accessibility & contrast

On white

6.64
#4E579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E579B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E579B#FFFFFF#000000##FFFFFF
##4E579B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#355999
Tritanopia (blue-blind)
#306571
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e579b;
/* rgb */ color: rgb(78, 87, 155);
/* oklch */ color: oklch(48.2% 0.109 275.8);
Tailwind
colors: {
  custom: {
    50: '#8486b9',
    500: '#4e579b',
    950: '#000000',
  },
}
SCSS
$custom: #4e579b;
$custom-light: #8486b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e579b",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 232.987,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.10916,
    "h": 275.8
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#4E579B
secondary
#B8B38D
accent
#BD5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E579B

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

Preview Lab → · Contrast checker → · Palette generator →

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