#4847BB#4847BB

#4847BB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.178 H 277.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4847BB
RGBrgb(72, 71, 187)
HSLhsl(241, 46%, 51%)
HSVhsv(241, 62%, 73%)
CMYKcmyk(61.5%, 62%, 0%, 26.7%)
CIE-LABlab(36.88, 35.47, -61.16)
CIE-LCHlch(36.88, 70.70, 300.11°)
OKLaboklab(47.03% 0.0231 -0.176)
OKLCHoklch(47.03% 0.178 277.5)
XYZxyz(13.8925, 9.4710, 48.1001)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847BB #BABB47
analogous
#4780BB #4847BB #8247BB
triadic
#4847BB #BB4847 #47BB48
tetradic
#4847BB #BB4780 #BABB47 #47BB82
square
#4847BB #BB4780 #BABB47 #47BB82
split-complementary
#4847BB #BB8247 #80BB47
monochromatic
#252563 #363590 #4847BB #7474CC #A1A0DC

Accessibility & contrast

On white

7.26
#4847BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4847BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847BB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847BB#FFFFFF#000000##FFFFFF
##4847BB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4847bb;
/* rgb */ color: rgb(72, 71, 187);
/* oklch */ color: oklch(47.0% 0.178 277.5);
Tailwind
colors: {
  custom: {
    50: '#877ad0',
    500: '#4847bb',
    950: '#000000',
  },
}
SCSS
$custom: #4847bb;
$custom-light: #877ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4847bb",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 240.517,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.17751,
    "h": 277.5
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#4847BB
secondary
#C8C995
accent
#D652D5
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4847BB

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

Preview Lab → · Contrast checker → · Palette generator →

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