#4847D7#4847D7

#4847D7 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.213 H 275.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4847D7
RGBrgb(72, 71, 215)
HSLhsl(240, 64%, 56%)
HSVhsv(240, 67%, 84%)
CMYKcmyk(66.5%, 67%, 0%, 15.7%)
CIE-LABlab(39.22, 44.72, -73.58)
CIE-LCHlch(39.22, 86.10, 301.29°)
OKLaboklab(49.47% 0.0207 -0.2124)
OKLCHoklch(49.47% 0.213 275.6)
XYZxyz(17.1874, 10.7890, 65.4535)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847D7 #D6D747
analogous
#478ED7 #4847D7 #9047D7
triadic
#4847D7 #D74847 #47D748
tetradic
#4847D7 #D7478E #D6D747 #47D790
square
#4847D7 #D7478E #D6D747 #47D790
split-complementary
#4847D7 #D79047 #8ED747
monochromatic
#1E1D86 #2928B9 #4847D7 #7A79E2 #ACACED

Accessibility & contrast

On white

6.65
#4847D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4847D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847D7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847D7#FFFFFF#000000##FFFFFF
##4847D71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0056D4
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4847d7;
/* rgb */ color: rgb(72, 71, 215);
/* oklch */ color: oklch(49.5% 0.213 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c7be4',
    500: '#4847d7',
    950: '#000000',
  },
}
SCSS
$custom: #4847d7;
$custom-light: #8c7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4847d7",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 240.417,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.21345,
    "h": 275.6
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#4847D7
secondary
#DADB9F
accent
#E741E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4847D7

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

Preview Lab → · Contrast checker → · Palette generator →

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