#4856C3#4856C3

#4856C3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.169 H 273.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4856C3
RGBrgb(72, 86, 195)
HSLhsl(233, 51%, 52%)
HSVhsv(233, 63%, 76%)
CMYKcmyk(63.1%, 55.9%, 0%, 23.5%)
CIE-LABlab(41.17, 28.77, -58.85)
CIE-LCHlch(41.17, 65.50, 296.05°)
OKLaboklab(50.41% 0.0095 -0.1691)
OKLCHoklch(50.41% 0.169 273.2)
XYZxyz(15.8473, 11.9721, 53.0949)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856C3 #C3B548
analogous
#4893C3 #4856C3 #7848C3
triadic
#4856C3 #C34856 #56C348
tetradic
#4856C3 #C34893 #C3B548 #48C378
square
#4856C3 #C34893 #C3B548 #48C378
split-complementary
#4856C3 #C37848 #93C348
monochromatic
#242C6D #333F9B #4856C3 #7681D2 #A4ABE1

Accessibility & contrast

On white

6.19
#4856C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4856C3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856C3#FFFFFF#000000##FFFFFF
##4856C31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4856c3;
/* rgb */ color: rgb(72, 86, 195);
/* oklch */ color: oklch(50.4% 0.169 273.2);
Tailwind
colors: {
  custom: {
    50: '#8785d6',
    500: '#4856c3',
    950: '#000000',
  },
}
SCSS
$custom: #4856c3;
$custom-light: #8785d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4856c3",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 233.171,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.16935,
    "h": 273.2
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4856C3

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

Preview Lab → · Contrast checker → · Palette generator →

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