#4847E5#4847E5

#4847E5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.8% C 0.231 H 274.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4847E5
RGBrgb(72, 71, 229)
HSLhsl(240, 75%, 59%)
HSVhsv(240, 69%, 90%)
CMYKcmyk(68.6%, 69%, 0%, 10.2%)
CIE-LABlab(40.47, 49.26, -79.52)
CIE-LCHlch(40.47, 93.54, 301.77°)
OKLaboklab(50.75% 0.0189 -0.2298)
OKLCHoklch(50.75% 0.231 274.7)
XYZxyz(19.0639, 11.5395, 75.3362)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847E5 #E4E547
analogous
#4795E5 #4847E5 #9747E5
triadic
#4847E5 #E54847 #47E548
tetradic
#4847E5 #E54795 #E4E547 #47E597
square
#4847E5 #E54795 #E4E547 #47E597
split-complementary
#4847E5 #E59747 #95E547
monochromatic
#17169C #1F1ED1 #4847E5 #7D7DED #B3B2F4

Accessibility & contrast

On white

6.35
#4847E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4847E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847E5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847E5#FFFFFF#000000##FFFFFF
##4847E51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#0058E2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4847e5;
/* rgb */ color: rgb(72, 71, 229);
/* oklch */ color: oklch(50.8% 0.231 274.7);
Tailwind
colors: {
  custom: {
    50: '#8f7bee',
    500: '#4847e5',
    950: '#000000',
  },
}
SCSS
$custom: #4847e5;
$custom-light: #8f7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4847e5",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 240.38,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.2306,
    "h": 274.7
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#4847E5
secondary
#E3E3A5
accent
#F236F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4847E5

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

Preview Lab → · Contrast checker → · Palette generator →

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