#4747E2#4747E2

#4747E2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.227 H 274.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4747E2
RGBrgb(71, 71, 226)
HSLhsl(240, 73%, 58%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(68.6%, 68.6%, 0%, 11.4%)
CIE-LABlab(40.14, 48.17, -78.37)
CIE-LCHlch(40.14, 91.99, 301.58°)
OKLaboklab(50.41% 0.0182 -0.2265)
OKLCHoklch(50.41% 0.227 274.6)
XYZxyz(18.5747, 11.3353, 73.1458)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747E2 #E2E247
analogous
#4794E2 #4747E2 #9447E2
triadic
#4747E2 #E24747 #47E247
tetradic
#4747E2 #E24794 #E2E247 #47E294
square
#4747E2 #E24794 #E2E247 #47E294
split-complementary
#4747E2 #E29447 #94E247
monochromatic
#181897 #2020CC #4747E2 #7C7CEA #B1B1F3

Accessibility & contrast

On white

6.43
#4747E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4747E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747E2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747E2#FFFFFF#000000##FFFFFF
##4747E21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0057DF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4747e2;
/* rgb */ color: rgb(71, 71, 226);
/* oklch */ color: oklch(50.4% 0.227 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e7bec',
    500: '#4747e2',
    950: '#000000',
  },
}
SCSS
$custom: #4747e2;
$custom-light: #8e7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4747e2",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.2272,
    "h": 274.6
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#4747E2
secondary
#E1E1A4
accent
#EF38EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4747E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4747E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva