#4747CD#4747CD

#4747CD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.5% C 0.201 H 275.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4747CD
RGBrgb(71, 71, 205)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(65.4%, 65.4%, 0%, 19.6%)
CIE-LABlab(38.29, 41.30, -69.34)
CIE-LCHlch(38.29, 80.71, 300.78°)
OKLaboklab(48.51% 0.0206 -0.2001)
OKLCHoklch(48.51% 0.201 275.9)
XYZxyz(15.8676, 10.2525, 58.8885)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747CD #CDCD47
analogous
#478ACD #4747CD #8A47CD
triadic
#4747CD #CD4747 #47CD47
tetradic
#4747CD #CD478A #CDCD47 #47CD8A
square
#4747CD #CD478A #CDCD47 #47CD8A
split-complementary
#4747CD #CD8A47 #8ACD47
monochromatic
#212179 #2E2EA9 #4747CD #7777DA #A7A7E7

Accessibility & contrast

On white

6.88
#4747CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4747CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747CD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747CD#FFFFFF#000000##FFFFFF
##4747CD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4747cd;
/* rgb */ color: rgb(71, 71, 205);
/* oklch */ color: oklch(48.5% 0.201 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4747cd',
    950: '#000000',
  },
}
SCSS
$custom: #4747cd;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4747cd",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.20111,
    "h": 275.9
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#4747CD
secondary
#D4D49B
accent
#E147E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4747CD

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

Preview Lab → · Contrast checker → · Palette generator →

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