#4847BC#4847BC

#4847BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.179 H 277.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4847BC
RGBrgb(72, 71, 188)
HSLhsl(241, 47%, 51%)
HSVhsv(241, 62%, 74%)
CMYKcmyk(61.7%, 62.2%, 0%, 26.3%)
CIE-LABlab(36.96, 35.80, -61.61)
CIE-LCHlch(36.96, 71.26, 300.16°)
OKLaboklab(47.12% 0.0231 -0.1773)
OKLCHoklch(47.12% 0.179 277.4)
XYZxyz(13.9999, 9.5139, 48.6658)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847BC #BBBC47
analogous
#4780BC #4847BC #8247BC
triadic
#4847BC #BC4847 #47BC48
tetradic
#4847BC #BC4780 #BBBC47 #47BC82
square
#4847BC #BC4780 #BBBC47 #47BC82
split-complementary
#4847BC #BC8247 #80BC47
monochromatic
#252464 #363591 #4847BC #7574CC #A1A1DD

Accessibility & contrast

On white

7.23
#4847BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4847BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847BC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847BC#FFFFFF#000000##FFFFFF
##4847BC1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4847bc;
/* rgb */ color: rgb(72, 71, 188);
/* oklch */ color: oklch(47.1% 0.179 277.4);
Tailwind
colors: {
  custom: {
    50: '#877ad1',
    500: '#4847bc',
    950: '#000000',
  },
}
SCSS
$custom: #4847bc;
$custom-light: #877ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4847bc",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 240.513,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.17885,
    "h": 277.4
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#4847BC
secondary
#C9C995
accent
#D652D5
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4847BC

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

Preview Lab → · Contrast checker → · Palette generator →

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