#4847BD#4847BD

#4847BD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.180 H 277.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4847BD
RGBrgb(72, 71, 189)
HSLhsl(241, 47%, 51%)
HSVhsv(241, 62%, 74%)
CMYKcmyk(61.9%, 62.4%, 0%, 25.9%)
CIE-LABlab(37.04, 36.13, -62.07)
CIE-LCHlch(37.04, 71.82, 300.21°)
OKLaboklab(47.2% 0.023 -0.1787)
OKLCHoklch(47.2% 0.18 277.3)
XYZxyz(14.1081, 9.5572, 49.2355)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847BD #BCBD47
analogous
#4781BD #4847BD #8347BD
triadic
#4847BD #BD4847 #47BD48
tetradic
#4847BD #BD4781 #BCBD47 #47BD83
square
#4847BD #BD4781 #BCBD47 #47BD83
split-complementary
#4847BD #BD8347 #81BD47
monochromatic
#252465 #353492 #4847BD #7574CD #A2A1DD

Accessibility & contrast

On white

7.21
#4847BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4847BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847BD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847BD#FFFFFF#000000##FFFFFF
##4847BD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4847bd;
/* rgb */ color: rgb(72, 71, 189);
/* oklch */ color: oklch(47.2% 0.180 277.3);
Tailwind
colors: {
  custom: {
    50: '#877ad2',
    500: '#4847bd',
    950: '#000000',
  },
}
SCSS
$custom: #4847bd;
$custom-light: #877ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4847bd",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 240.508,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47201,
    "c": 0.18017,
    "h": 277.3
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#4847BD
secondary
#CACA96
accent
#D751D6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4847BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4847BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva