#4747E4#4747E4

#4747E4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.230 H 274.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4747E4
RGBrgb(71, 71, 228)
HSLhsl(240, 74%, 59%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(68.9%, 68.9%, 0%, 10.6%)
CIE-LABlab(40.32, 48.82, -79.21)
CIE-LCHlch(40.32, 93.05, 301.65°)
OKLaboklab(50.6% 0.0179 -0.2289)
OKLCHoklch(50.6% 0.23 274.5)
XYZxyz(18.8507, 11.4457, 74.5996)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747E4 #E4E447
analogous
#4795E4 #4747E4 #9547E4
triadic
#4747E4 #E44747 #47E447
tetradic
#4747E4 #E44795 #E4E447 #47E495
square
#4747E4 #E44795 #E4E447 #47E495
split-complementary
#4747E4 #E49547 #95E447
monochromatic
#17179A #1E1ECF #4747E4 #7C7CEC #B2B2F4

Accessibility & contrast

On white

6.38
#4747E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4747E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747E4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747E4#FFFFFF#000000##FFFFFF
##4747E41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#0058E1
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4747e4;
/* rgb */ color: rgb(71, 71, 228);
/* oklch */ color: oklch(50.6% 0.230 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f7bee',
    500: '#4747e4',
    950: '#000000',
  },
}
SCSS
$custom: #4747e4;
$custom-light: #8f7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4747e4",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.22963,
    "h": 274.5
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#4747E4
secondary
#E2E2A4
accent
#F137F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4747E4

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

Preview Lab → · Contrast checker → · Palette generator →

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