#4855EB#4855EB

#4855EB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.5% C 0.223 H 272.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4855EB
RGBrgb(72, 85, 235)
HSLhsl(235, 80%, 60%)
HSVhsv(235, 69%, 92%)
CMYKcmyk(69.4%, 63.8%, 0%, 7.8%)
CIE-LABlab(44.05, 43.02, -77.06)
CIE-LCHlch(44.05, 88.25, 299.17°)
OKLaboklab(53.5% 0.0094 -0.2226)
OKLCHoklch(53.5% 0.223 272.4)
XYZxyz(20.9113, 13.8708, 80.1565)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855EB #EBDE48
analogous
#48A6EB #4855EB #8D48EB
triadic
#4855EB #EB4855 #55EB48
tetradic
#4855EB #EB48A6 #EBDE48 #48EB8D
square
#4855EB #EB48A6 #EBDE48 #48EB8D
split-complementary
#4855EB #EB8D48 #A6EB48
monochromatic
#121EA6 #1828DE #4855EB #7F88F1 #B6BCF7

Accessibility & contrast

On white

5.56
#4855EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4855EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855EB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855EB#FFFFFF#000000##FFFFFF
##4855EB1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4855eb;
/* rgb */ color: rgb(72, 85, 235);
/* oklch */ color: oklch(53.5% 0.223 272.4);
Tailwind
colors: {
  custom: {
    50: '#8f85f3',
    500: '#4855eb',
    950: '#000000',
  },
}
SCSS
$custom: #4855eb;
$custom-light: #8f85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4855eb",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 235.215,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.22277,
    "h": 272.4
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#4855EB
secondary
#E7E2A8
accent
#CC09DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4855EB

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

Preview Lab → · Contrast checker → · Palette generator →

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