#4847CB#4847CB

#4847CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.198 H 276.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4847CB
RGBrgb(72, 71, 203)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.5%, 65%, 0%, 20.4%)
CIE-LABlab(38.19, 40.77, -68.35)
CIE-LCHlch(38.19, 79.59, 300.82°)
OKLaboklab(48.4% 0.022 -0.1971)
OKLCHoklch(48.4% 0.198 276.4)
XYZxyz(15.7017, 10.1947, 57.6286)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847CB #CACB47
analogous
#4788CB #4847CB #8A47CB
triadic
#4847CB #CB4847 #47CB48
tetradic
#4847CB #CB4788 #CACB47 #47CB8A
square
#4847CB #CB4788 #CACB47 #47CB8A
split-complementary
#4847CB #CB8A47 #88CB47
monochromatic
#222176 #302FA6 #4847CB #7777D8 #A7A6E6

Accessibility & contrast

On white

6.91
#4847CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4847CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847CB#FFFFFF#000000##FFFFFF
##4847CB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4847cb;
/* rgb */ color: rgb(72, 71, 203);
/* oklch */ color: oklch(48.4% 0.198 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a7bdc',
    500: '#4847cb',
    950: '#000000',
  },
}
SCSS
$custom: #4847cb;
$custom-light: #8a7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4847cb",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 240.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.19834,
    "h": 276.4
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#4847CB
secondary
#D3D39B
accent
#DF49DE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847CB

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

Preview Lab → · Contrast checker → · Palette generator →

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