#4B47BD#4B47BD

#4B47BD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.180 H 278.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4B47BD
RGBrgb(75, 71, 189)
HSLhsl(242, 47%, 51%)
HSVhsv(242, 62%, 74%)
CMYKcmyk(60.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(37.25, 36.62, -61.70)
CIE-LCHlch(37.25, 71.75, 300.69°)
OKLaboklab(47.42% 0.0267 -0.1775)
OKLCHoklch(47.42% 0.18 278.6)
XYZxyz(14.3373, 9.6754, 49.2463)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47BD #B9BD47
analogous
#477EBD #4B47BD #8647BD
triadic
#4B47BD #BD4B47 #47BD4B
tetradic
#4B47BD #BD477E #B9BD47 #47BD86
square
#4B47BD #BD477E #B9BD47 #47BD86
split-complementary
#4B47BD #BD8647 #7EBD47
monochromatic
#272465 #383492 #4B47BD #7774CD #A3A1DD

Accessibility & contrast

On white

7.15
#4B47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4B47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B47BD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47BD#FFFFFF#000000##FFFFFF
##4B47BD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b47bd;
/* rgb */ color: rgb(75, 71, 189);
/* oklch */ color: oklch(47.4% 0.180 278.6);
Tailwind
colors: {
  custom: {
    50: '#897ad2',
    500: '#4b47bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b47bd;
$custom-light: #897ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47bd",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 242.034,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.17953,
    "h": 278.6
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#4B47BD
secondary
#C8CA96
accent
#D751D2
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4B47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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