#4C47E4#4C47E4

#4C47E4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.228 H 276.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4C47E4
RGBrgb(76, 71, 228)
HSLhsl(242, 74%, 59%)
HSVhsv(242, 69%, 89%)
CMYKcmyk(66.7%, 68.9%, 0%, 10.6%)
CIE-LABlab(40.64, 49.39, -78.67)
CIE-LCHlch(40.64, 92.89, 302.12°)
OKLaboklab(50.91% 0.0238 -0.2272)
OKLCHoklch(50.91% 0.228 276)
XYZxyz(19.2327, 11.6427, 74.6175)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47E4 #DFE447
analogous
#4790E4 #4C47E4 #9A47E4
triadic
#4C47E4 #E44C47 #47E44C
tetradic
#4C47E4 #E44790 #DFE447 #47E49A
square
#4C47E4 #E44790 #DFE447 #47E49A
split-complementary
#4C47E4 #E49A47 #90E447
monochromatic
#1B179A #241ECF #4C47E4 #807CEC #B4B2F4

Accessibility & contrast

On white

6.31
#4C47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4C47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47E4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47E4#FFFFFF#000000##FFFFFF
##4C47E41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#0059E1
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c47e4;
/* rgb */ color: rgb(76, 71, 228);
/* oklch */ color: oklch(50.9% 0.228 276.0);
Tailwind
colors: {
  custom: {
    50: '#917bee',
    500: '#4c47e4',
    950: '#000000',
  },
}
SCSS
$custom: #4c47e4;
$custom-light: #917bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47e4",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 241.911,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.22846,
    "h": 276
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#4C47E4
secondary
#E0E2A4
accent
#F137EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4C47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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