#4847CF#4847CF

#4847CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.203 H 276.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4847CF
RGBrgb(72, 71, 207)
HSLhsl(240, 59%, 55%)
HSVhsv(240, 66%, 81%)
CMYKcmyk(65.2%, 65.7%, 0%, 18.8%)
CIE-LABlab(38.53, 42.09, -70.11)
CIE-LCHlch(38.53, 81.77, 300.98°)
OKLaboklab(48.75% 0.0216 -0.2023)
OKLCHoklch(48.75% 0.203 276.1)
XYZxyz(16.1845, 10.3878, 60.1715)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847CF #CECF47
analogous
#478ACF #4847CF #8C47CF
triadic
#4847CF #CF4847 #47CF48
tetradic
#4847CF #CF478A #CECF47 #47CF8C
square
#4847CF #CF478A #CECF47 #47CF8C
split-complementary
#4847CF #CF8C47 #8ACF47
monochromatic
#21207B #2E2DAC #4847CF #7878DC #A9A8E8

Accessibility & contrast

On white

6.82
#4847CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4847CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847CF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847CF#FFFFFF#000000##FFFFFF
##4847CF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4847cf;
/* rgb */ color: rgb(72, 71, 207);
/* oklch */ color: oklch(48.8% 0.203 276.1);
Tailwind
colors: {
  custom: {
    50: '#8b7bdf',
    500: '#4847cf',
    950: '#000000',
  },
}
SCSS
$custom: #4847cf;
$custom-light: #8b7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4847cf",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 240.441,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.20342,
    "h": 276.1
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#4847CF
secondary
#D5D69C
accent
#E246E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847CF

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

Preview Lab → · Contrast checker → · Palette generator →

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