#4855C2#4855C2

#4855C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.169 H 273.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4855C2
RGBrgb(72, 85, 194)
HSLhsl(234, 50%, 52%)
HSVhsv(234, 63%, 76%)
CMYKcmyk(62.9%, 56.2%, 0%, 23.9%)
CIE-LABlab(40.85, 29.06, -58.80)
CIE-LCHlch(40.85, 65.58, 296.30°)
OKLaboklab(50.14% 0.0104 -0.1689)
OKLCHoklch(50.14% 0.169 273.5)
XYZxyz(15.6554, 11.7684, 52.4750)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855C2 #C2B548
analogous
#4892C2 #4855C2 #7848C2
triadic
#4855C2 #C24855 #55C248
tetradic
#4855C2 #C24892 #C2B548 #48C278
square
#4855C2 #C24892 #C2B548 #48C278
split-complementary
#4855C2 #C27848 #92C248
monochromatic
#242C6C #333E9A #4855C2 #7680D1 #A4AAE1

Accessibility & contrast

On white

6.26
#4855C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4855C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855C2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855C2#FFFFFF#000000##FFFFFF
##4855C21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4855c2;
/* rgb */ color: rgb(72, 85, 194);
/* oklch */ color: oklch(50.1% 0.169 273.5);
Tailwind
colors: {
  custom: {
    50: '#8784d5',
    500: '#4855c2',
    950: '#000000',
  },
}
SCSS
$custom: #4855c2;
$custom-light: #8784d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4855c2",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 233.607,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.16927,
    "h": 273.5
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#4855C2
secondary
#CEC898
accent
#CB4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4855C2

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

Preview Lab → · Contrast checker → · Palette generator →

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