#4847C2#4847C2

#4847C2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.187 H 277.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4847C2
RGBrgb(72, 71, 194)
HSLhsl(240, 50%, 52%)
HSVhsv(240, 63%, 76%)
CMYKcmyk(62.9%, 63.4%, 0%, 23.9%)
CIE-LABlab(37.44, 37.80, -64.33)
CIE-LCHlch(37.44, 74.61, 300.43°)
OKLaboklab(47.62% 0.0227 -0.1853)
OKLCHoklch(47.62% 0.187 277)
XYZxyz(14.6602, 9.7781, 52.1433)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847C2 #C1C247
analogous
#4784C2 #4847C2 #8647C2
triadic
#4847C2 #C24847 #47C248
tetradic
#4847C2 #C24784 #C1C247 #47C286
square
#4847C2 #C24784 #C1C247 #47C286
split-complementary
#4847C2 #C28647 #84C247
monochromatic
#24246B #343399 #4847C2 #7675D1 #A3A3E0

Accessibility & contrast

On white

7.10
#4847C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4847C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847C2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847C2#FFFFFF#000000##FFFFFF
##4847C21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4847c2;
/* rgb */ color: rgb(72, 71, 194);
/* oklch */ color: oklch(47.6% 0.187 277.0);
Tailwind
colors: {
  custom: {
    50: '#887ad5',
    500: '#4847c2',
    950: '#000000',
  },
}
SCSS
$custom: #4847c2;
$custom-light: #887ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4847c2",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 240.488,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.18672,
    "h": 277
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#4847C2
secondary
#CDCD97
accent
#DA4ED9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4847C2

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

Preview Lab → · Contrast checker → · Palette generator →

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