#4E47CA#4E47CA

#4E47CA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.196 H 278.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4E47CA
RGBrgb(78, 71, 202)
HSLhsl(243, 55%, 54%)
HSVhsv(243, 65%, 79%)
CMYKcmyk(61.4%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.53, 41.33, -67.19)
CIE-LCHlch(38.53, 78.88, 301.59°)
OKLaboklab(48.73% 0.0294 -0.1936)
OKLCHoklch(48.73% 0.196 278.6)
XYZxyz(16.0524, 10.3892, 57.0251)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47CA #C3CA47
analogous
#4781CA #4E47CA #8F47CA
triadic
#4E47CA #CA4E47 #47CA4E
tetradic
#4E47CA #CA4781 #C3CA47 #47CA8F
square
#4E47CA #CA4781 #C3CA47 #47CA8F
split-complementary
#4E47CA #CA8F47 #81CA47
monochromatic
#262275 #362FA4 #4E47CA #7C77D8 #A9A6E5

Accessibility & contrast

On white

6.82
#4E47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47CA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47CA#FFFFFF#000000##FFFFFF
##4E47CA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e47ca;
/* rgb */ color: rgb(78, 71, 202);
/* oklch */ color: oklch(48.7% 0.196 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d7bdb',
    500: '#4e47ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e47ca;
$custom-light: #8d7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47ca",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 243.206,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.19578,
    "h": 278.6
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#4E47CA
secondary
#CFD29A
accent
#DF49D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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