#4847E8#4847E8

#4847E8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.234 H 274.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4847E8
RGBrgb(72, 71, 232)
HSLhsl(240, 78%, 59%)
HSVhsv(240, 69%, 91%)
CMYKcmyk(69%, 69.4%, 0%, 9%)
CIE-LABlab(40.75, 50.22, -80.77)
CIE-LCHlch(40.75, 95.11, 301.87°)
OKLaboklab(51.03% 0.0185 -0.2335)
OKLCHoklch(51.03% 0.234 274.5)
XYZxyz(19.4864, 11.7085, 77.5613)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847E8 #E7E847
analogous
#4796E8 #4847E8 #9947E8
triadic
#4847E8 #E84847 #47E848
tetradic
#4847E8 #E84796 #E7E847 #47E899
square
#4847E8 #E84796 #E7E847 #47E899
split-complementary
#4847E8 #E89947 #96E847
monochromatic
#1514A1 #1C1BD7 #4847E8 #7E7DEF #B4B4F6

Accessibility & contrast

On white

6.28
#4847E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4847E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847E8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847E8#FFFFFF#000000##FFFFFF
##4847E81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067ED
Deuteranopia (green-blind)
#0059E5
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4847e8;
/* rgb */ color: rgb(72, 71, 232);
/* oklch */ color: oklch(51.0% 0.234 274.5);
Tailwind
colors: {
  custom: {
    50: '#907bf1',
    500: '#4847e8',
    950: '#000000',
  },
}
SCSS
$custom: #4847e8;
$custom-light: #907bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4847e8",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 240.373,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.23421,
    "h": 274.5
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#4847E8
secondary
#E4E5A6
accent
#F434F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4847E8

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

Preview Lab → · Contrast checker → · Palette generator →

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