#4847B2#4847B2

#4847B2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.165 H 278.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4847B2
RGBrgb(72, 71, 178)
HSLhsl(241, 43%, 49%)
HSVhsv(241, 60%, 70%)
CMYKcmyk(59.6%, 60.1%, 0%, 30.2%)
CIE-LABlab(36.17, 32.47, -56.99)
CIE-LCHlch(36.17, 65.59, 299.67°)
OKLaboklab(46.29% 0.0235 -0.1638)
OKLCHoklch(46.29% 0.165 278.2)
XYZxyz(12.9590, 9.0976, 43.1840)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847B2 #B1B247
analogous
#477CB2 #4847B2 #7E47B2
triadic
#4847B2 #B24847 #47B248
tetradic
#4847B2 #B2477C #B1B247 #47B27E
square
#4847B2 #B2477C #B1B247 #47B27E
split-complementary
#4847B2 #B27E47 #7CB247
monochromatic
#25245B #363686 #4847B2 #7170C6 #9C9CD7

Accessibility & contrast

On white

7.45
#4847B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4847B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847B2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847B2#FFFFFF#000000##FFFFFF
##4847B21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4847b2;
/* rgb */ color: rgb(72, 71, 178);
/* oklch */ color: oklch(46.3% 0.165 278.2);
Tailwind
colors: {
  custom: {
    50: '#857aca',
    500: '#4847b2',
    950: '#000000',
  },
}
SCSS
$custom: #4847b2;
$custom-light: #857aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4847b2",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 240.561,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.16545,
    "h": 278.2
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#4847B2
secondary
#C3C491
accent
#D355D2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4847B2

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

Preview Lab → · Contrast checker → · Palette generator →

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