#4847DC#4847DC

#4847DC is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.220 H 275.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4847DC
RGBrgb(72, 71, 220)
HSLhsl(240, 68%, 57%)
HSVhsv(240, 68%, 86%)
CMYKcmyk(67.3%, 67.7%, 0%, 13.7%)
CIE-LABlab(39.66, 46.34, -75.72)
CIE-LCHlch(39.66, 88.78, 301.47°)
OKLaboklab(49.92% 0.0201 -0.2187)
OKLCHoklch(49.92% 0.22 275.2)
XYZxyz(17.8397, 11.0499, 68.8890)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847DC #DBDC47
analogous
#4790DC #4847DC #9347DC
triadic
#4847DC #DC4847 #47DC48
tetradic
#4847DC #DC4790 #DBDC47 #47DC93
square
#4847DC #DC4790 #DBDC47 #47DC93
split-complementary
#4847DC #DC9347 #90DC47
monochromatic
#1C1B8E #2625C1 #4847DC #7B7AE6 #AEAEF0

Accessibility & contrast

On white

6.54
#4847DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4847DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847DC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847DC#FFFFFF#000000##FFFFFF
##4847DC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4847dc;
/* rgb */ color: rgb(72, 71, 220);
/* oklch */ color: oklch(49.9% 0.220 275.2);
Tailwind
colors: {
  custom: {
    50: '#8d7be8',
    500: '#4847dc',
    950: '#000000',
  },
}
SCSS
$custom: #4847dc;
$custom-light: #8d7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4847dc",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 240.403,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.21963,
    "h": 275.2
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#4847DC
secondary
#DDDEA1
accent
#EB3DEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4847DC

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

Preview Lab → · Contrast checker → · Palette generator →

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