#4847DB#4847DB

#4847DB is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.218 H 275.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4847DB
RGBrgb(72, 71, 219)
HSLhsl(240, 67%, 57%)
HSVhsv(240, 68%, 86%)
CMYKcmyk(67.1%, 67.6%, 0%, 14.1%)
CIE-LABlab(39.58, 46.02, -75.30)
CIE-LCHlch(39.58, 88.25, 301.43°)
OKLaboklab(49.83% 0.0202 -0.2175)
OKLCHoklch(49.83% 0.218 275.3)
XYZxyz(17.7077, 10.9971, 68.1936)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847DB #DADB47
analogous
#4790DB #4847DB #9247DB
triadic
#4847DB #DB4847 #47DB48
tetradic
#4847DB #DB4790 #DADB47 #47DB92
square
#4847DB #DB4790 #DADB47 #47DB92
split-complementary
#4847DB #DB9247 #90DB47
monochromatic
#1C1B8C #2625BF #4847DB #7B7AE5 #AEADEF

Accessibility & contrast

On white

6.56
#4847DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4847DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847DB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847DB#FFFFFF#000000##FFFFFF
##4847DB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0056D8
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4847db;
/* rgb */ color: rgb(72, 71, 219);
/* oklch */ color: oklch(49.8% 0.218 275.3);
Tailwind
colors: {
  custom: {
    50: '#8d7be7',
    500: '#4847db',
    950: '#000000',
  },
}
SCSS
$custom: #4847db;
$custom-light: #8d7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4847db",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 240.405,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.2184,
    "h": 275.3
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#4847DB
secondary
#DDDDA1
accent
#EA3EE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4847DB

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

Preview Lab → · Contrast checker → · Palette generator →

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