#4747CB#4747CB

#4747CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.199 H 276.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4747CB
RGBrgb(71, 71, 203)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(65%, 65%, 0%, 20.4%)
CIE-LABlab(38.12, 40.64, -68.46)
CIE-LCHlch(38.12, 79.61, 300.69°)
OKLaboklab(48.33% 0.0208 -0.1975)
OKLCHoklch(48.33% 0.199 276)
XYZxyz(15.6277, 10.1565, 57.6252)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747CB #CBCB47
analogous
#4789CB #4747CB #8947CB
triadic
#4747CB #CB4747 #47CB47
tetradic
#4747CB #CB4789 #CBCB47 #47CB89
square
#4747CB #CB4789 #CBCB47 #47CB89
split-complementary
#4747CB #CB8947 #89CB47
monochromatic
#212176 #2F2FA6 #4747CB #7777D8 #A6A6E6

Accessibility & contrast

On white

6.93
#4747CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4747CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747CB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747CB#FFFFFF#000000##FFFFFF
##4747CB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4747cb;
/* rgb */ color: rgb(71, 71, 203);
/* oklch */ color: oklch(48.3% 0.199 276.0);
Tailwind
colors: {
  custom: {
    50: '#8a7bdc',
    500: '#4747cb',
    950: '#000000',
  },
}
SCSS
$custom: #4747cb;
$custom-light: #8a7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4747cb",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.19856,
    "h": 276
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4747CB

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

Preview Lab → · Contrast checker → · Palette generator →

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