#4B47CC#4B47CC

#4B47CC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.199 H 277.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4B47CC
RGBrgb(75, 71, 204)
HSLhsl(242, 57%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(63.2%, 65.2%, 0%, 20%)
CIE-LABlab(38.48, 41.53, -68.44)
CIE-LCHlch(38.48, 80.06, 301.25°)
OKLaboklab(48.69% 0.0255 -0.1973)
OKLCHoklch(48.69% 0.199 277.4)
XYZxyz(16.0504, 10.3607, 58.2690)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47CC #C8CC47
analogous
#4786CC #4B47CC #8E47CC
triadic
#4B47CC #CC4B47 #47CC4B
tetradic
#4B47CC #CC4786 #C8CC47 #47CC8E
square
#4B47CC #CC4786 #C8CC47 #47CC8E
split-complementary
#4B47CC #CC8E47 #86CC47
monochromatic
#242177 #322EA7 #4B47CC #7A77D9 #A9A7E7

Accessibility & contrast

On white

6.84
#4B47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4B47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47CC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47CC#FFFFFF#000000##FFFFFF
##4B47CC1.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)
#0060D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b47cc;
/* rgb */ color: rgb(75, 71, 204);
/* oklch */ color: oklch(48.7% 0.199 277.4);
Tailwind
colors: {
  custom: {
    50: '#8c7bdd',
    500: '#4b47cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b47cc;
$custom-light: #8c7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47cc",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 241.805,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.19895,
    "h": 277.4
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#4B47CC
secondary
#D2D49B
accent
#E048DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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