#4E579F#4E579F

#4E579F is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.5% C 0.115 H 275.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4E579F
RGBrgb(78, 87, 159)
HSLhsl(233, 34%, 46%)
HSVhsv(233, 51%, 62%)
CMYKcmyk(50.9%, 45.3%, 0%, 37.6%)
CIE-LABlab(39.48, 17.20, -40.34)
CIE-LCHlch(39.48, 43.86, 293.10°)
OKLaboklab(48.48% 0.0118 -0.1145)
OKLCHoklch(48.48% 0.115 275.9)
XYZxyz(12.8061, 10.9385, 34.2307)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E579F #9F964E
analogous
#4E809F #4E579F #6E4E9F
triadic
#4E579F #9F4E57 #579F4E
tetradic
#4E579F #9F4E80 #9F964E #4E9F6E
square
#4E579F #9F4E80 #9F964E #4E9F6E
split-complementary
#4E579F #9F6E4E #809F4E
monochromatic
#262A4D #3A4176 #4E579F #7179B9 #9AA0CD

Accessibility & contrast

On white

6.59
#4E579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4E579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E579F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E579F#FFFFFF#000000##FFFFFF
##4E579F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A2
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#2D6673
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e579f;
/* rgb */ color: rgb(78, 87, 159);
/* oklch */ color: oklch(48.5% 0.115 275.9);
Tailwind
colors: {
  custom: {
    50: '#8586bc',
    500: '#4e579f',
    950: '#000000',
  },
}
SCSS
$custom: #4e579f;
$custom-light: #8586bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e579f",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 233.333,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.11513,
    "h": 275.9
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#4E579F
secondary
#BAB58F
accent
#BE5ECA
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E579F

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

Preview Lab → · Contrast checker → · Palette generator →

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