#4A47CB#4A47CB

#4A47CB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.198 H 277.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4A47CB
RGBrgb(74, 71, 203)
HSLhsl(241, 56%, 54%)
HSVhsv(241, 65%, 80%)
CMYKcmyk(63.5%, 65%, 0%, 20.4%)
CIE-LABlab(38.33, 41.06, -68.12)
CIE-LCHlch(38.33, 79.54, 301.08°)
OKLaboklab(48.54% 0.0244 -0.1964)
OKLCHoklch(48.54% 0.198 277.1)
XYZxyz(15.8533, 10.2728, 57.6358)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47CB #C8CB47
analogous
#4786CB #4A47CB #8C47CB
triadic
#4A47CB #CB4A47 #47CB4A
tetradic
#4A47CB #CB4786 #C8CB47 #47CB8C
square
#4A47CB #CB4786 #C8CB47 #47CB8C
split-complementary
#4A47CB #CB8C47 #86CB47
monochromatic
#232176 #322FA6 #4A47CB #7977D8 #A8A6E6

Accessibility & contrast

On white

6.87
#4A47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4A47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A47CB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47CB#FFFFFF#000000##FFFFFF
##4A47CB1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a47cb;
/* rgb */ color: rgb(74, 71, 203);
/* oklch */ color: oklch(48.5% 0.198 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b7bdc',
    500: '#4a47cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a47cb;
$custom-light: #8b7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47cb",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 241.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.19789,
    "h": 277.1
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#4A47CB
secondary
#D2D39B
accent
#DF49DC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A47CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4A47CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva