#4847C8#4847C8

#4847C8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.194 H 276.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4847C8
RGBrgb(72, 71, 200)
HSLhsl(240, 54%, 53%)
HSVhsv(240, 65%, 78%)
CMYKcmyk(64%, 64.5%, 0%, 21.6%)
CIE-LABlab(37.94, 39.78, -67.02)
CIE-LCHlch(37.94, 77.94, 300.69°)
OKLaboklab(48.14% 0.0222 -0.1932)
OKLCHoklch(48.14% 0.194 276.6)
XYZxyz(15.3477, 10.0531, 55.7640)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847C8 #C7C847
analogous
#4786C8 #4847C8 #8847C8
triadic
#4847C8 #C84847 #47C848
tetradic
#4847C8 #C84786 #C7C847 #47C888
square
#4847C8 #C84786 #C7C847 #47C888
split-complementary
#4847C8 #C88847 #86C847
monochromatic
#232272 #3130A2 #4847C8 #7776D6 #A6A5E4

Accessibility & contrast

On white

6.97
#4847C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4847C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4847C8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847C8#FFFFFF#000000##FFFFFF
##4847C81.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4847c8;
/* rgb */ color: rgb(72, 71, 200);
/* oklch */ color: oklch(48.1% 0.194 276.6);
Tailwind
colors: {
  custom: {
    50: '#897bda',
    500: '#4847c8',
    950: '#000000',
  },
}
SCSS
$custom: #4847c8;
$custom-light: #897bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4847c8",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 240.465,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.19449,
    "h": 276.6
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#4847C8
secondary
#D1D19A
accent
#DD4ADC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847C8

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

Preview Lab → · Contrast checker → · Palette generator →

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