#4E479D#4E479D

#4E479D is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.135 H 283.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4E479D
RGBrgb(78, 71, 157)
HSLhsl(245, 38%, 45%)
HSVhsv(245, 55%, 62%)
CMYKcmyk(50.3%, 54.8%, 0%, 38.4%)
CIE-LABlab(35.12, 26.79, -46.12)
CIE-LCHlch(35.12, 53.34, 300.16°)
OKLaboklab(45.16% 0.031 -0.1316)
OKLCHoklch(45.16% 0.135 283.2)
XYZxyz(11.4791, 8.5599, 32.9391)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E479D #969D47
analogous
#476B9D #4E479D #79479D
triadic
#4E479D #9D4E47 #479D4E
tetradic
#4E479D #9D476B #969D47 #479D79
square
#4E479D #9D476B #969D47 #479D79
split-complementary
#4E479D #9D7947 #6B9D47
monochromatic
#242149 #393473 #4E479D #6E67BA #9691CD

Accessibility & contrast

On white

7.74
#4E479D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E479D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E479D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E479D#FFFFFF#000000##FFFFFF
##4E479D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1855A0
Deuteranopia (green-blind)
#10509B
Tritanopia (blue-blind)
#315A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e479d;
/* rgb */ color: rgb(78, 71, 157);
/* oklch */ color: oklch(45.2% 0.135 283.2);
Tailwind
colors: {
  custom: {
    50: '#857aba',
    500: '#4e479d',
    950: '#000000',
  },
}
SCSS
$custom: #4e479d;
$custom-light: #857aba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e479d",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 244.884,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.1352,
    "h": 283.2
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#4E479D
secondary
#B5B987
accent
#CE5AC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E479D

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

Preview Lab → · Contrast checker → · Palette generator →

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