#4E479A#4E479A

#4E479A is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.131 H 283.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4E479A
RGBrgb(78, 71, 154)
HSLhsl(245, 37%, 44%)
HSVhsv(245, 54%, 60%)
CMYKcmyk(49.4%, 53.9%, 0%, 39.6%)
CIE-LABlab(34.92, 25.84, -44.63)
CIE-LCHlch(34.92, 51.57, 300.07°)
OKLaboklab(44.94% 0.0308 -0.1272)
OKLCHoklch(44.94% 0.131 283.6)
XYZxyz(11.2261, 8.4587, 31.6068)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E479A #939A47
analogous
#476A9A #4E479A #78479A
triadic
#4E479A #9A4E47 #479A4E
tetradic
#4E479A #9A476A #939A47 #479A78
square
#4E479A #9A476A #939A47 #479A78
split-complementary
#4E479A #9A7847 #6A9A47
monochromatic
#242046 #393470 #4E479A #6D66B8 #9590CC

Accessibility & contrast

On white

7.80
#4E479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E479A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E479A#FFFFFF#000000##FFFFFF
##4E479A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#174F98
Tritanopia (blue-blind)
#335969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e479a;
/* rgb */ color: rgb(78, 71, 154);
/* oklch */ color: oklch(44.9% 0.131 283.6);
Tailwind
colors: {
  custom: {
    50: '#857ab8',
    500: '#4e479a',
    950: '#000000',
  },
}
SCSS
$custom: #4e479a;
$custom-light: #857ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e479a",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 245.06,
    "s": 36.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.13091,
    "h": 283.6
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#4E479A
secondary
#B3B785
accent
#CD5BC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E479A

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

Preview Lab → · Contrast checker → · Palette generator →

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