#4747D7#4747D7

#4747D7 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.4% C 0.214 H 275.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4747D7
RGBrgb(71, 71, 215)
HSLhsl(240, 64%, 56%)
HSVhsv(240, 67%, 84%)
CMYKcmyk(67%, 67%, 0%, 15.7%)
CIE-LABlab(39.16, 44.59, -73.69)
CIE-LCHlch(39.16, 86.13, 301.18°)
OKLaboklab(49.4% 0.0195 -0.2128)
OKLCHoklch(49.4% 0.214 275.2)
XYZxyz(17.1135, 10.7508, 65.4501)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747D7 #D7D747
analogous
#478FD7 #4747D7 #8F47D7
triadic
#4747D7 #D74747 #47D747
tetradic
#4747D7 #D7478F #D7D747 #47D78F
square
#4747D7 #D7478F #D7D747 #47D78F
split-complementary
#4747D7 #D78F47 #8FD747
monochromatic
#1D1D86 #2828B9 #4747D7 #7979E2 #ACACED

Accessibility & contrast

On white

6.67
#4747D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4747D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747D7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747D7#FFFFFF#000000##FFFFFF
##4747D71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0056D4
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4747d7;
/* rgb */ color: rgb(71, 71, 215);
/* oklch */ color: oklch(49.4% 0.214 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c7be5',
    500: '#4747d7',
    950: '#000000',
  },
}
SCSS
$custom: #4747d7;
$custom-light: #8c7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4747d7",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.21368,
    "h": 275.2
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#4747D7
secondary
#DBDB9F
accent
#E741E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4747D7

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

Preview Lab → · Contrast checker → · Palette generator →

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