#4847E4#4847E4

#4847E4 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.229 H 274.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4847E4
RGBrgb(72, 71, 228)
HSLhsl(240, 74%, 59%)
HSVhsv(240, 69%, 89%)
CMYKcmyk(68.4%, 68.9%, 0%, 10.6%)
CIE-LABlab(40.38, 48.93, -79.10)
CIE-LCHlch(40.38, 93.02, 301.74°)
OKLaboklab(50.66% 0.019 -0.2286)
OKLCHoklch(50.66% 0.229 274.8)
XYZxyz(18.9247, 11.4839, 74.6030)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847E4 #E3E447
analogous
#4794E4 #4847E4 #9647E4
triadic
#4847E4 #E44847 #47E448
tetradic
#4847E4 #E44794 #E3E447 #47E496
square
#4847E4 #E44794 #E3E447 #47E496
split-complementary
#4847E4 #E49647 #94E447
monochromatic
#17179A #201ECF #4847E4 #7D7CEC #B2B2F4

Accessibility & contrast

On white

6.37
#4847E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4847E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847E4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847E4#FFFFFF#000000##FFFFFF
##4847E41.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#0058E1
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4847e4;
/* rgb */ color: rgb(72, 71, 228);
/* oklch */ color: oklch(50.7% 0.229 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f7bee',
    500: '#4847e4',
    950: '#000000',
  },
}
SCSS
$custom: #4847e4;
$custom-light: #8f7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4847e4",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 240.382,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.22939,
    "h": 274.8
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#4847E4
secondary
#E2E2A4
accent
#F137F0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4847E4

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

Preview Lab → · Contrast checker → · Palette generator →

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