#4847D8#4847D8

#4847D8 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.215 H 275.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4847D8
RGBrgb(72, 71, 216)
HSLhsl(240, 65%, 56%)
HSVhsv(240, 67%, 85%)
CMYKcmyk(66.7%, 67.1%, 0%, 15.3%)
CIE-LABlab(39.31, 45.04, -74.01)
CIE-LCHlch(39.31, 86.64, 301.32°)
OKLaboklab(49.56% 0.0206 -0.2137)
OKLCHoklch(49.56% 0.215 275.5)
XYZxyz(17.3163, 10.8405, 66.1323)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847D8 #D7D847
analogous
#478FD8 #4847D8 #9147D8
triadic
#4847D8 #D84847 #47D848
tetradic
#4847D8 #D8478F #D7D847 #47D891
square
#4847D8 #D8478F #D7D847 #47D891
split-complementary
#4847D8 #D89147 #8FD847
monochromatic
#1E1D88 #2927BA #4847D8 #7A79E3 #ACACED

Accessibility & contrast

On white

6.63
#4847D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4847D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847D8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847D8#FFFFFF#000000##FFFFFF
##4847D81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0056D5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4847d8;
/* rgb */ color: rgb(72, 71, 216);
/* oklch */ color: oklch(49.6% 0.215 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d7be5',
    500: '#4847d8',
    950: '#000000',
  },
}
SCSS
$custom: #4847d8;
$custom-light: #8d7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4847d8",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 240.414,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.21469,
    "h": 275.5
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#4847D8
secondary
#DBDBA0
accent
#E840E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4847D8

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

Preview Lab → · Contrast checker → · Palette generator →

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