#4855C7#4855C7

#4855C7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.176 H 273.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4855C7
RGBrgb(72, 85, 199)
HSLhsl(234, 53%, 53%)
HSVhsv(234, 64%, 78%)
CMYKcmyk(63.8%, 57.3%, 0%, 22%)
CIE-LABlab(41.21, 30.77, -61.11)
CIE-LCHlch(41.21, 68.42, 296.73°)
OKLaboklab(50.53% 0.0105 -0.1757)
OKLCHoklch(50.53% 0.176 273.4)
XYZxyz(16.2264, 11.9968, 55.4823)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855C7 #C7BA48
analogous
#4894C7 #4855C7 #7A48C7
triadic
#4855C7 #C74855 #55C748
tetradic
#4855C7 #C74894 #C7BA48 #48C77A
square
#4855C7 #C74894 #C7BA48 #48C77A
split-complementary
#4855C7 #C77A48 #94C748
monochromatic
#232B72 #313DA1 #4855C7 #7781D5 #A6ACE4

Accessibility & contrast

On white

6.18
#4855C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4855C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855C7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855C7#FFFFFF#000000##FFFFFF
##4855C71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4855c7;
/* rgb */ color: rgb(72, 85, 199);
/* oklch */ color: oklch(50.5% 0.176 273.4);
Tailwind
colors: {
  custom: {
    50: '#8884d9',
    500: '#4855c7',
    950: '#000000',
  },
}
SCSS
$custom: #4855c7;
$custom-light: #8884d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4855c7",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 233.858,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.17605,
    "h": 273.4
  },
  "luminance": 0.11998
}

Semantic roles & 50–950 ramp

primary
#4855C7
secondary
#D1CB9A
accent
#CE4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4855C7

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

Preview Lab → · Contrast checker → · Palette generator →

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