#4747CF#4747CF

#4747CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.7% C 0.204 H 275.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4747CF
RGBrgb(71, 71, 207)
HSLhsl(240, 59%, 55%)
HSVhsv(240, 66%, 81%)
CMYKcmyk(65.7%, 65.7%, 0%, 18.8%)
CIE-LABlab(38.46, 41.96, -70.22)
CIE-LCHlch(38.46, 81.80, 300.86°)
OKLaboklab(48.69% 0.0204 -0.2026)
OKLCHoklch(48.69% 0.204 275.7)
XYZxyz(16.1106, 10.3497, 60.1681)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747CF #CFCF47
analogous
#478BCF #4747CF #8B47CF
triadic
#4747CF #CF4747 #47CF47
tetradic
#4747CF #CF478B #CFCF47 #47CF8B
square
#4747CF #CF478B #CFCF47 #47CF8B
split-complementary
#4747CF #CF8B47 #8BCF47
monochromatic
#20207B #2D2DAC #4747CF #7878DC #A8A8E8

Accessibility & contrast

On white

6.84
#4747CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4747CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747CF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747CF#FFFFFF#000000##FFFFFF
##4747CF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4747cf;
/* rgb */ color: rgb(71, 71, 207);
/* oklch */ color: oklch(48.7% 0.204 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a7bdf',
    500: '#4747cf',
    950: '#000000',
  },
}
SCSS
$custom: #4747cf;
$custom-light: #8a7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4747cf",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.20365,
    "h": 275.7
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#4747CF
secondary
#D6D69C
accent
#E246E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4747CF

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

Preview Lab → · Contrast checker → · Palette generator →

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