#4E479E#4E479E

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

Color values

HEX#4E479E
RGBrgb(78, 71, 158)
HSLhsl(245, 38%, 45%)
HSVhsv(245, 55%, 62%)
CMYKcmyk(50.6%, 55.1%, 0%, 38%)
CIE-LABlab(35.19, 27.11, -46.61)
CIE-LCHlch(35.19, 53.92, 300.19°)
OKLaboklab(45.23% 0.031 -0.1331)
OKLCHoklch(45.23% 0.137 283.1)
XYZxyz(11.5648, 8.5942, 33.3906)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E479E #979E47
analogous
#476B9E #4E479E #7A479E
triadic
#4E479E #9E4E47 #479E4E
tetradic
#4E479E #9E476B #979E47 #479E7A
square
#4E479E #9E476B #979E47 #479E7A
split-complementary
#4E479E #9E7A47 #6B9E47
monochromatic
#24214A #393474 #4E479E #6E67BB #9692CE

Accessibility & contrast

On white

7.72
#4E479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E479E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E479E#FFFFFF#000000##FFFFFF
##4E479E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#305A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e479e;
/* rgb */ color: rgb(78, 71, 158);
/* oklch */ color: oklch(45.2% 0.137 283.1);
Tailwind
colors: {
  custom: {
    50: '#867abb',
    500: '#4e479e',
    950: '#000000',
  },
}
SCSS
$custom: #4e479e;
$custom-light: #867abb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e479e",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 244.828,
    "s": 37.991,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.13662,
    "h": 283.1
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E479E

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

Preview Lab → · Contrast checker → · Palette generator →

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