#4856EB#4856EB

#4856EB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.222 H 272.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4856EB
RGBrgb(72, 86, 235)
HSLhsl(235, 80%, 60%)
HSVhsv(235, 69%, 92%)
CMYKcmyk(69.4%, 63.4%, 0%, 7.8%)
CIE-LABlab(44.28, 42.42, -76.69)
CIE-LCHlch(44.28, 87.64, 298.95°)
OKLaboklab(53.67% 0.0088 -0.2215)
OKLCHoklch(53.67% 0.222 272.3)
XYZxyz(20.9906, 14.0294, 80.1829)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856EB #EBDD48
analogous
#48A7EB #4856EB #8C48EB
triadic
#4856EB #EB4856 #56EB48
tetradic
#4856EB #EB48A7 #EBDD48 #48EB8C
square
#4856EB #EB48A7 #EBDD48 #48EB8C
split-complementary
#4856EB #EB8C48 #A7EB48
monochromatic
#121FA6 #1829DE #4856EB #7F89F1 #B6BCF7

Accessibility & contrast

On white

5.52
#4856EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4856EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856EB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856EB#FFFFFF#000000##FFFFFF
##4856EB1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4856eb;
/* rgb */ color: rgb(72, 86, 235);
/* oklch */ color: oklch(53.7% 0.222 272.3);
Tailwind
colors: {
  custom: {
    50: '#8f86f3',
    500: '#4856eb',
    950: '#000000',
  },
}
SCSS
$custom: #4856eb;
$custom-light: #8f86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4856eb",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 234.847,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.22165,
    "h": 272.3
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#4856EB
secondary
#E7E1A8
accent
#CA09DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4856EB

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

Preview Lab → · Contrast checker → · Palette generator →

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