#4854EE#4854EE

#4854EE is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.228 H 272.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4854EE
RGBrgb(72, 84, 238)
HSLhsl(236, 83%, 61%)
HSVhsv(236, 70%, 93%)
CMYKcmyk(69.7%, 64.7%, 0%, 6.7%)
CIE-LABlab(44.07, 44.62, -78.71)
CIE-LCHlch(44.07, 90.48, 299.55°)
OKLaboklab(53.6% 0.0099 -0.2274)
OKLCHoklch(53.6% 0.228 272.5)
XYZxyz(21.2702, 13.8893, 82.4323)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854EE #EEE248
analogous
#48A7EE #4854EE #8F48EE
triadic
#4854EE #EE4854 #54EE48
tetradic
#4854EE #EE48A7 #EEE248 #48EE8F
square
#4854EE #EE48A7 #EEE248 #48EE8F
split-complementary
#4854EE #EE8F48 #A7EE48
monochromatic
#101BAC #1524E4 #4854EE #8088F3 #B8BDF8

Accessibility & contrast

On white

5.56
#4854EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4854EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854EE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854EE#FFFFFF#000000##FFFFFF
##4854EE1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#0061EB
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4854ee;
/* rgb */ color: rgb(72, 84, 238);
/* oklch */ color: oklch(53.6% 0.228 272.5);
Tailwind
colors: {
  custom: {
    50: '#9084f5',
    500: '#4854ee',
    950: '#000000',
  },
}
SCSS
$custom: #4854ee;
$custom-light: #9084f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4854ee",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 235.663,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.536,
    "c": 0.22761,
    "h": 272.5
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#4854EE
secondary
#E8E4A9
accent
#D006DF
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4854EE

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

Preview Lab → · Contrast checker → · Palette generator →

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