#4B47DC#4B47DC

#4B47DC is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.219 H 276.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4B47DC
RGBrgb(75, 71, 220)
HSLhsl(242, 68%, 57%)
HSVhsv(242, 68%, 86%)
CMYKcmyk(65.9%, 67.7%, 0%, 13.7%)
CIE-LABlab(39.86, 46.71, -75.39)
CIE-LCHlch(39.86, 88.69, 301.78°)
OKLaboklab(50.12% 0.0237 -0.2177)
OKLCHoklch(50.12% 0.219 276.2)
XYZxyz(18.0689, 11.1681, 68.8997)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47DC #D8DC47
analogous
#478DDC #4B47DC #9647DC
triadic
#4B47DC #DC4B47 #47DC4B
tetradic
#4B47DC #DC478D #D8DC47 #47DC96
square
#4B47DC #DC478D #D8DC47 #47DC96
split-complementary
#4B47DC #DC9647 #8DDC47
monochromatic
#1E1B8E #2925C1 #4B47DC #7D7AE6 #B0AEF0

Accessibility & contrast

On white

6.49
#4B47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4B47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47DC
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47DC#FFFFFF#000000##FFFFFF
##4B47DC1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b47dc;
/* rgb */ color: rgb(75, 71, 220);
/* oklch */ color: oklch(50.1% 0.219 276.2);
Tailwind
colors: {
  custom: {
    50: '#8f7be8',
    500: '#4b47dc',
    950: '#000000',
  },
}
SCSS
$custom: #4b47dc;
$custom-light: #8f7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47dc",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 241.611,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.21894,
    "h": 276.2
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#4B47DC
secondary
#DCDEA1
accent
#EB3DE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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