#4E479F#4E479F

#4E479F is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.138 H 283.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4E479F
RGBrgb(78, 71, 159)
HSLhsl(245, 38%, 45%)
HSVhsv(245, 55%, 62%)
CMYKcmyk(50.9%, 55.3%, 0%, 37.6%)
CIE-LABlab(35.26, 27.43, -47.10)
CIE-LCHlch(35.26, 54.51, 300.22°)
OKLaboklab(45.3% 0.031 -0.1345)
OKLCHoklch(45.3% 0.138 283)
XYZxyz(11.6512, 8.6288, 33.8458)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E479F #989F47
analogous
#476C9F #4E479F #7A479F
triadic
#4E479F #9F4E47 #479F4E
tetradic
#4E479F #9F476C #989F47 #479F7A
square
#4E479F #9F476C #989F47 #479F7A
split-complementary
#4E479F #9F7A47 #6C9F47
monochromatic
#24214A #393475 #4E479F #6E68BB #9792CE

Accessibility & contrast

On white

7.70
#4E479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E479F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E479F#FFFFFF#000000##FFFFFF
##4E479F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#0A509D
Tritanopia (blue-blind)
#2F5B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e479f;
/* rgb */ color: rgb(78, 71, 159);
/* oklch */ color: oklch(45.3% 0.138 283.0);
Tailwind
colors: {
  custom: {
    50: '#867abc',
    500: '#4e479f',
    950: '#000000',
  },
}
SCSS
$custom: #4e479f;
$custom-light: #867abc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e479f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 244.773,
    "s": 38.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.453,
    "c": 0.13803,
    "h": 283
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#4E479F
secondary
#B6BA88
accent
#CE5AC5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E479F

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

Preview Lab → · Contrast checker → · Palette generator →

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