#4E579E#4E579E

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

Color values

HEX#4E579E
RGBrgb(78, 87, 158)
HSLhsl(233, 34%, 46%)
HSVhsv(233, 51%, 62%)
CMYKcmyk(50.6%, 44.9%, 0%, 38%)
CIE-LABlab(39.42, 16.88, -39.84)
CIE-LCHlch(39.42, 43.27, 292.96°)
OKLaboklab(48.41% 0.0116 -0.113)
OKLCHoklch(48.41% 0.114 275.9)
XYZxyz(12.7197, 10.9040, 33.7756)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E579E #9E954E
analogous
#4E7F9E #4E579E #6D4E9E
triadic
#4E579E #9E4E57 #579E4E
tetradic
#4E579E #9E4E7F #9E954E #4E9E6D
square
#4E579E #9E4E7F #9E954E #4E9E6D
split-complementary
#4E579E #9E6D4E #7F9E4E
monochromatic
#262A4C #3A4075 #4E579E #7179B9 #9A9FCD

Accessibility & contrast

On white

6.60
#4E579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E579E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E579E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E579E#FFFFFF#000000##FFFFFF
##4E579E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A1
Deuteranopia (green-blind)
#325A9C
Tritanopia (blue-blind)
#2E6673
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e579e;
/* rgb */ color: rgb(78, 87, 158);
/* oklch */ color: oklch(48.4% 0.114 275.9);
Tailwind
colors: {
  custom: {
    50: '#8586bb',
    500: '#4e579e',
    950: '#000000',
  },
}
SCSS
$custom: #4e579e;
$custom-light: #8586bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e579e",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 233.25,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.11364,
    "h": 275.9
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E579E

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

Preview Lab → · Contrast checker → · Palette generator →

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