#4856C2#4856C2

#4856C2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.168 H 273.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4856C2
RGBrgb(72, 86, 194)
HSLhsl(233, 50%, 52%)
HSVhsv(233, 63%, 76%)
CMYKcmyk(62.9%, 55.7%, 0%, 23.9%)
CIE-LABlab(41.10, 28.42, -58.38)
CIE-LCHlch(41.10, 64.93, 295.96°)
OKLaboklab(50.33% 0.0094 -0.1677)
OKLCHoklch(50.33% 0.168 273.2)
XYZxyz(15.7347, 11.9270, 52.5014)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856C2 #C2B448
analogous
#4893C2 #4856C2 #7748C2
triadic
#4856C2 #C24856 #56C248
tetradic
#4856C2 #C24893 #C2B448 #48C277
square
#4856C2 #C24893 #C2B448 #48C277
split-complementary
#4856C2 #C27748 #93C248
monochromatic
#242C6C #333F9A #4856C2 #7680D1 #A4ABE1

Accessibility & contrast

On white

6.20
#4856C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4856C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856C2#FFFFFF#000000##FFFFFF
##4856C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4856c2;
/* rgb */ color: rgb(72, 86, 194);
/* oklch */ color: oklch(50.3% 0.168 273.2);
Tailwind
colors: {
  custom: {
    50: '#8785d5',
    500: '#4856c2',
    950: '#000000',
  },
}
SCSS
$custom: #4856c2;
$custom-light: #8785d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4856c2",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 233.115,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.16798,
    "h": 273.2
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#4856C2
secondary
#CEC798
accent
#CA4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4856C2

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

Preview Lab → · Contrast checker → · Palette generator →

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