#4855D5#4855D5

#4855D5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.195 H 273.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4855D5
RGBrgb(72, 85, 213)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(66.2%, 60.1%, 0%, 16.5%)
CIE-LABlab(42.27, 35.57, -67.45)
CIE-LCHlch(42.27, 76.25, 297.81°)
OKLaboklab(51.65% 0.0104 -0.1944)
OKLCHoklch(51.65% 0.195 273.1)
XYZxyz(17.9272, 12.6772, 64.4401)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855D5 #D5C848
analogous
#489BD5 #4855D5 #8148D5
triadic
#4855D5 #D54855 #55D548
tetradic
#4855D5 #D5489B #D5C848 #48D581
square
#4855D5 #D5489B #D5C848 #48D581
split-complementary
#4855D5 #D58148 #9BD548
monochromatic
#1E2884 #2A37B6 #4855D5 #7A83E0 #ACB1EC

Accessibility & contrast

On white

5.94
#4855D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4855D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855D5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855D5#FFFFFF#000000##FFFFFF
##4855D51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4855d5;
/* rgb */ color: rgb(72, 85, 213);
/* oklch */ color: oklch(51.6% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#8b85e3',
    500: '#4855d5',
    950: '#000000',
  },
}
SCSS
$custom: #4855d5;
$custom-light: #8b85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4855d5",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 234.468,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.19466,
    "h": 273.1
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#4855D5
secondary
#DAD49F
accent
#D742E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4855D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4855D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva