#4847DD#4847DD

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

Color values

HEX#4847DD
RGBrgb(72, 71, 221)
HSLhsl(240, 69%, 57%)
HSVhsv(240, 68%, 87%)
CMYKcmyk(67.4%, 67.9%, 0%, 13.3%)
CIE-LABlab(39.75, 46.67, -76.15)
CIE-LCHlch(39.75, 89.31, 301.50°)
OKLaboklab(50.01% 0.02 -0.22)
OKLCHoklch(50.01% 0.221 275.2)
XYZxyz(17.9726, 11.1030, 69.5885)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847DD #DCDD47
analogous
#4791DD #4847DD #9347DD
triadic
#4847DD #DD4847 #47DD48
tetradic
#4847DD #DD4791 #DCDD47 #47DD93
square
#4847DD #DD4791 #DCDD47 #47DD93
split-complementary
#4847DD #DD9347 #91DD47
monochromatic
#1B1A8F #2524C3 #4847DD #7B7BE7 #AFAEF0

Accessibility & contrast

On white

6.52
#4847DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4847DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847DD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847DD#FFFFFF#000000##FFFFFF
##4847DD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0057DA
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4847dd;
/* rgb */ color: rgb(72, 71, 221);
/* oklch */ color: oklch(50.0% 0.221 275.2);
Tailwind
colors: {
  custom: {
    50: '#8e7be9',
    500: '#4847dd',
    950: '#000000',
  },
}
SCSS
$custom: #4847dd;
$custom-light: #8e7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#4847dd",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 240.4,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.22086,
    "h": 275.2
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#4847DD
secondary
#DEDEA2
accent
#EC3CEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4847DD

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

Preview Lab → · Contrast checker → · Palette generator →

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