#4847CA#4847CA

#4847CA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.197 H 276.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4847CA
RGBrgb(72, 71, 202)
HSLhsl(240, 55%, 54%)
HSVhsv(240, 65%, 79%)
CMYKcmyk(64.4%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.11, 40.44, -67.91)
CIE-LCHlch(38.11, 79.04, 300.78°)
OKLaboklab(48.31% 0.022 -0.1958)
OKLCHoklch(48.31% 0.197 276.4)
XYZxyz(15.5829, 10.1472, 57.0031)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847CA #C9CA47
analogous
#4787CA #4847CA #8947CA
triadic
#4847CA #CA4847 #47CA48
tetradic
#4847CA #CA4787 #C9CA47 #47CA89
square
#4847CA #CA4787 #C9CA47 #47CA89
split-complementary
#4847CA #CA8947 #87CA47
monochromatic
#222275 #302FA4 #4847CA #7777D8 #A7A6E5

Accessibility & contrast

On white

6.93
#4847CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4847CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847CA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847CA#FFFFFF#000000##FFFFFF
##4847CA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4847ca;
/* rgb */ color: rgb(72, 71, 202);
/* oklch */ color: oklch(48.3% 0.197 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a7bdb',
    500: '#4847ca',
    950: '#000000',
  },
}
SCSS
$custom: #4847ca;
$custom-light: #8a7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4847ca",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 240.458,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48314,
    "c": 0.19706,
    "h": 276.4
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#4847CA
secondary
#D2D29A
accent
#DF49DD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847CA

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

Preview Lab → · Contrast checker → · Palette generator →

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