#4B47CE#4B47CE

#4B47CE is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.201 H 277.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4B47CE
RGBrgb(75, 71, 206)
HSLhsl(242, 58%, 54%)
HSVhsv(242, 66%, 81%)
CMYKcmyk(63.6%, 65.5%, 0%, 19.2%)
CIE-LABlab(38.65, 42.18, -69.32)
CIE-LCHlch(38.65, 81.15, 301.32°)
OKLaboklab(48.87% 0.0253 -0.1999)
OKLCHoklch(48.87% 0.201 277.2)
XYZxyz(16.2919, 10.4572, 59.5405)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47CE #CACE47
analogous
#4787CE #4B47CE #8F47CE
triadic
#4B47CE #CE4B47 #47CE4B
tetradic
#4B47CE #CE4787 #CACE47 #47CE8F
square
#4B47CE #CE4787 #CACE47 #47CE8F
split-complementary
#4B47CE #CE8F47 #87CE47
monochromatic
#23217A #312DAA #4B47CE #7A77DB #AAA8E8

Accessibility & contrast

On white

6.79
#4B47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4B47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47CE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47CE#FFFFFF#000000##FFFFFF
##4B47CE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b47ce;
/* rgb */ color: rgb(75, 71, 206);
/* oklch */ color: oklch(48.9% 0.201 277.2);
Tailwind
colors: {
  custom: {
    50: '#8c7bde',
    500: '#4b47ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b47ce;
$custom-light: #8c7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47ce",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 241.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.20148,
    "h": 277.2
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#4B47CE
secondary
#D3D59C
accent
#E147DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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