#4856CA#4856CA

#4856CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.179 H 273.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4856CA
RGBrgb(72, 86, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 64%, 79%)
CMYKcmyk(64.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.68, 31.17, -62.08)
CIE-LCHlch(41.68, 69.46, 296.67°)
OKLaboklab(50.95% 0.0096 -0.1786)
OKLCHoklch(50.95% 0.179 273.1)
XYZxyz(16.6574, 12.2961, 57.3612)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856CA #CABC48
analogous
#4897CA #4856CA #7B48CA
triadic
#4856CA #CA4856 #56CA48
tetradic
#4856CA #CA4897 #CABC48 #48CA7B
square
#4856CA #CA4897 #CABC48 #48CA7B
split-complementary
#4856CA #CA7B48 #97CA48
monochromatic
#222B76 #303CA5 #4856CA #7782D8 #A7AEE5

Accessibility & contrast

On white

6.07
#4856CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4856CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856CA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856CA#FFFFFF#000000##FFFFFF
##4856CA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4856ca;
/* rgb */ color: rgb(72, 86, 202);
/* oklch */ color: oklch(50.9% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#8985db',
    500: '#4856ca',
    950: '#000000',
  },
}
SCSS
$custom: #4856ca;
$custom-light: #8985db;
$custom-dark: #000000;
JSON
{
  "hex": "#4856ca",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 233.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.17884,
    "h": 273.1
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#4856CA
secondary
#D3CD9B
accent
#CE49DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4856CA

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

Preview Lab → · Contrast checker → · Palette generator →

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