#4747CA#4747CA

#4747CA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.197 H 276.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4747CA
RGBrgb(71, 71, 202)
HSLhsl(240, 55%, 54%)
HSVhsv(240, 65%, 79%)
CMYKcmyk(64.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.04, 40.30, -68.02)
CIE-LCHlch(38.04, 79.06, 300.65°)
OKLaboklab(48.25% 0.0209 -0.1962)
OKLCHoklch(48.25% 0.197 276.1)
XYZxyz(15.5090, 10.1090, 56.9996)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747CA #CACA47
analogous
#4788CA #4747CA #8847CA
triadic
#4747CA #CA4747 #47CA47
tetradic
#4747CA #CA4788 #CACA47 #47CA88
square
#4747CA #CA4788 #CACA47 #47CA88
split-complementary
#4747CA #CA8847 #88CA47
monochromatic
#222275 #2F2FA4 #4747CA #7777D8 #A6A6E5

Accessibility & contrast

On white

6.95
#4747CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4747CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747CA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747CA#FFFFFF#000000##FFFFFF
##4747CA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4747ca;
/* rgb */ color: rgb(71, 71, 202);
/* oklch */ color: oklch(48.2% 0.197 276.1);
Tailwind
colors: {
  custom: {
    50: '#897bdb',
    500: '#4747ca',
    950: '#000000',
  },
}
SCSS
$custom: #4747ca;
$custom-light: #897bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4747ca",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.19728,
    "h": 276.1
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#4747CA
secondary
#D2D29A
accent
#DF49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4747CA

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

Preview Lab → · Contrast checker → · Palette generator →

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