#4847FA#4847FA

#4847FA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.255 H 273.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4847FA
RGBrgb(72, 71, 250)
HSLhsl(240, 95%, 63%)
HSVhsv(240, 72%, 98%)
CMYKcmyk(71.2%, 71.6%, 0%, 2%)
CIE-LABlab(42.44, 55.93, -88.14)
CIE-LCHlch(42.44, 104.38, 302.40°)
OKLaboklab(52.75% 0.0158 -0.2549)
OKLCHoklch(52.75% 0.255 273.5)
XYZxyz(22.1753, 12.7841, 91.7229)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847FA #F9FA47
analogous
#47A0FA #4847FA #A147FA
triadic
#4847FA #FA4847 #47FA48
tetradic
#4847FA #FA47A0 #F9FA47 #47FAA1
square
#4847FA #FA47A0 #F9FA47 #47FAA1
split-complementary
#4847FA #FAA147 #A0FA47
monochromatic
#0605C1 #0D0BF8 #4847FA #8383FC #BFBEFD

Accessibility & contrast

On white

5.90
#4847FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4847FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847FA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847FA#FFFFFF#000000##FFFFFF
##4847FA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DFF
Deuteranopia (green-blind)
#005CF7
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4847fa;
/* rgb */ color: rgb(72, 71, 250);
/* oklch */ color: oklch(52.7% 0.255 273.5);
Tailwind
colors: {
  custom: {
    50: '#937cfd',
    500: '#4847fa',
    950: '#000000',
  },
}
SCSS
$custom: #4847fa;
$custom-light: #937cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#4847fa",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 250
  },
  "hsl": {
    "h": 240.335,
    "s": 94.709,
    "l": 62.941
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.25544,
    "h": 273.5
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#4847FA
secondary
#EEEFAE
accent
#E600E4
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4847FA

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

Preview Lab → · Contrast checker → · Palette generator →

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