#4747E8#4747E8

#4747E8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.234 H 274.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4747E8
RGBrgb(71, 71, 232)
HSLhsl(240, 78%, 59%)
HSVhsv(240, 69%, 91%)
CMYKcmyk(69.4%, 69.4%, 0%, 9%)
CIE-LABlab(40.69, 50.11, -80.88)
CIE-LCHlch(40.69, 95.14, 301.78°)
OKLaboklab(50.97% 0.0173 -0.2338)
OKLCHoklch(50.97% 0.234 274.2)
XYZxyz(19.4124, 11.6704, 77.5579)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747E8 #E8E847
analogous
#4798E8 #4747E8 #9847E8
triadic
#4747E8 #E84747 #47E847
tetradic
#4747E8 #E84798 #E8E847 #47E898
square
#4747E8 #E84798 #E8E847 #47E898
split-complementary
#4747E8 #E89847 #98E847
monochromatic
#1414A1 #1B1BD7 #4747E8 #7D7DEF #B4B4F6

Accessibility & contrast

On white

6.30
#4747E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4747E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747E8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747E8#FFFFFF#000000##FFFFFF
##4747E81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067ED
Deuteranopia (green-blind)
#0058E5
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4747e8;
/* rgb */ color: rgb(71, 71, 232);
/* oklch */ color: oklch(51.0% 0.234 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f7bf1',
    500: '#4747e8',
    950: '#000000',
  },
}
SCSS
$custom: #4747e8;
$custom-light: #8f7bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4747e8",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.23444,
    "h": 274.2
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#4747E8
secondary
#E5E5A6
accent
#F434F4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4747E8

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

Preview Lab → · Contrast checker → · Palette generator →

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