#4847E2#4847E2

#4847E2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.227 H 274.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4847E2
RGBrgb(72, 71, 226)
HSLhsl(240, 73%, 58%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(68.1%, 68.6%, 0%, 11.4%)
CIE-LABlab(40.20, 48.29, -78.26)
CIE-LCHlch(40.20, 91.96, 301.67°)
OKLaboklab(50.47% 0.0193 -0.2261)
OKLCHoklch(50.47% 0.227 274.9)
XYZxyz(18.6487, 11.3735, 73.1493)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847E2 #E1E247
analogous
#4793E2 #4847E2 #9547E2
triadic
#4847E2 #E24847 #47E248
tetradic
#4847E2 #E24793 #E1E247 #47E295
square
#4847E2 #E24793 #E1E247 #47E295
split-complementary
#4847E2 #E29547 #93E247
monochromatic
#191897 #2120CC #4847E2 #7D7CEA #B1B1F3

Accessibility & contrast

On white

6.41
#4847E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4847E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847E2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847E2#FFFFFF#000000##FFFFFF
##4847E21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4847e2;
/* rgb */ color: rgb(72, 71, 226);
/* oklch */ color: oklch(50.5% 0.227 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f7bec',
    500: '#4847e2',
    950: '#000000',
  },
}
SCSS
$custom: #4847e2;
$custom-light: #8f7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4847e2",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 240.387,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.22696,
    "h": 274.9
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#4847E2
secondary
#E1E1A4
accent
#EF38EE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4847E2

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

Preview Lab → · Contrast checker → · Palette generator →

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