#4E47CC#4E47CC

#4E47CC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.9% C 0.198 H 278.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E47CC
RGBrgb(78, 71, 204)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 65%, 80%)
CMYKcmyk(61.8%, 65.2%, 0%, 20%)
CIE-LABlab(38.70, 41.97, -68.08)
CIE-LCHlch(38.70, 79.98, 301.65°)
OKLaboklab(48.91% 0.0292 -0.1962)
OKLCHoklch(48.91% 0.198 278.5)
XYZxyz(16.2907, 10.4846, 58.2803)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E47CC #C5CC47
analogous
#4783CC #4E47CC #9147CC
triadic
#4E47CC #CC4E47 #47CC4E
tetradic
#4E47CC #CC4783 #C5CC47 #47CC91
square
#4E47CC #CC4783 #C5CC47 #47CC91
split-complementary
#4E47CC #CC9147 #83CC47
monochromatic
#262177 #352EA7 #4E47CC #7C77D9 #AAA7E7

Accessibility & contrast

On white

6.78
#4E47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E47CC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E47CC#FFFFFF#000000##FFFFFF
##4E47CC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e47cc;
/* rgb */ color: rgb(78, 71, 204);
/* oklch */ color: oklch(48.9% 0.198 278.5);
Tailwind
colors: {
  custom: {
    50: '#8d7bdd',
    500: '#4e47cc',
    950: '#000000',
  },
}
SCSS
$custom: #4e47cc;
$custom-light: #8d7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e47cc",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 243.158,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.19832,
    "h": 278.5
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#4E47CC
secondary
#D1D49B
accent
#E048D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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