#4E479C#4E479C

#4E479C is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.134 H 283.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E479C
RGBrgb(78, 71, 156)
HSLhsl(245, 37%, 45%)
HSVhsv(245, 54%, 61%)
CMYKcmyk(50%, 54.5%, 0%, 38.8%)
CIE-LABlab(35.05, 26.47, -45.62)
CIE-LCHlch(35.05, 52.75, 300.13°)
OKLaboklab(45.08% 0.0309 -0.1301)
OKLCHoklch(45.08% 0.134 283.4)
XYZxyz(11.3941, 8.5259, 32.4913)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E479C #959C47
analogous
#476B9C #4E479C #79479C
triadic
#4E479C #9C4E47 #479C4E
tetradic
#4E479C #9C476B #959C47 #479C79
square
#4E479C #9C476B #959C47 #479C79
split-complementary
#4E479C #9C7947 #6B9C47
monochromatic
#242148 #393472 #4E479C #6D67BA #9691CD

Accessibility & contrast

On white

7.76
#4E479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E479C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E479C#FFFFFF#000000##FFFFFF
##4E479C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#13509A
Tritanopia (blue-blind)
#325A6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e479c;
/* rgb */ color: rgb(78, 71, 156);
/* oklch */ color: oklch(45.1% 0.134 283.4);
Tailwind
colors: {
  custom: {
    50: '#857aba',
    500: '#4e479c',
    950: '#000000',
  },
}
SCSS
$custom: #4e479c;
$custom-light: #857aba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e479c",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 244.941,
    "s": 37.445,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.13377,
    "h": 283.4
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#4E479C
secondary
#B4B886
accent
#CD5AC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4E479C

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

Preview Lab → · Contrast checker → · Palette generator →

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