#4854EB#4854EB

#4854EB is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.224 H 272.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4854EB
RGBrgb(72, 84, 235)
HSLhsl(236, 80%, 60%)
HSVhsv(236, 69%, 92%)
CMYKcmyk(69.4%, 64.3%, 0%, 7.8%)
CIE-LABlab(43.82, 43.62, -77.43)
CIE-LCHlch(43.82, 88.87, 299.40°)
OKLaboklab(53.34% 0.0101 -0.2237)
OKLCHoklch(53.34% 0.224 272.6)
XYZxyz(20.8332, 13.7145, 80.1304)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854EB #EBDF48
analogous
#48A5EB #4854EB #8E48EB
triadic
#4854EB #EB4854 #54EB48
tetradic
#4854EB #EB48A5 #EBDF48 #48EB8E
square
#4854EB #EB48A5 #EBDF48 #48EB8E
split-complementary
#4854EB #EB8E48 #A5EB48
monochromatic
#121DA6 #1827DE #4854EB #7F88F1 #B6BBF7

Accessibility & contrast

On white

5.61
#4854EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4854EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854EB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854EB#FFFFFF#000000##FFFFFF
##4854EB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4854eb;
/* rgb */ color: rgb(72, 84, 235);
/* oklch */ color: oklch(53.3% 0.224 272.6);
Tailwind
colors: {
  custom: {
    50: '#8f84f3',
    500: '#4854eb',
    950: '#000000',
  },
}
SCSS
$custom: #4854eb;
$custom-light: #8f84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4854eb",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 235.583,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.2239,
    "h": 272.6
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4854EB

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

Preview Lab → · Contrast checker → · Palette generator →

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