#4B47D5#4B47D5

#4B47D5 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.210 H 276.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4B47D5
RGBrgb(75, 71, 213)
HSLhsl(242, 63%, 56%)
HSVhsv(242, 67%, 84%)
CMYKcmyk(64.8%, 66.7%, 0%, 16.5%)
CIE-LABlab(39.25, 44.45, -72.38)
CIE-LCHlch(39.25, 84.94, 301.56°)
OKLaboklab(49.49% 0.0245 -0.2088)
OKLCHoklch(49.49% 0.21 276.7)
XYZxyz(17.1612, 10.8050, 64.1191)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47D5 #D1D547
analogous
#478AD5 #4B47D5 #9247D5
triadic
#4B47D5 #D54B47 #47D54B
tetradic
#4B47D5 #D5478A #D1D547 #47D592
square
#4B47D5 #D5478A #D1D547 #47D592
split-complementary
#4B47D5 #D59247 #8AD547
monochromatic
#211E84 #2D29B5 #4B47D5 #7C79E0 #ACABEC

Accessibility & contrast

On white

6.64
#4B47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4B47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47D5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47D5#FFFFFF#000000##FFFFFF
##4B47D51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4b47d5;
/* rgb */ color: rgb(75, 71, 213);
/* oklch */ color: oklch(49.5% 0.210 276.7);
Tailwind
colors: {
  custom: {
    50: '#8d7be3',
    500: '#4b47d5',
    950: '#000000',
  },
}
SCSS
$custom: #4b47d5;
$custom-light: #8d7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47d5",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 241.69,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.21028,
    "h": 276.7
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#4B47D5
secondary
#D8D99E
accent
#E642E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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