#4854E7#4854E7

#4854E7 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.219 H 272.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4854E7
RGBrgb(72, 84, 231)
HSLhsl(235, 77%, 59%)
HSVhsv(235, 69%, 91%)
CMYKcmyk(68.8%, 63.6%, 0%, 9.4%)
CIE-LABlab(43.49, 42.28, -75.72)
CIE-LCHlch(43.49, 86.72, 299.18°)
OKLaboklab(52.99% 0.0104 -0.2186)
OKLCHoklch(52.99% 0.219 272.7)
XYZxyz(20.2618, 13.4859, 77.1211)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854E7 #E7DB48
analogous
#48A3E7 #4854E7 #8C48E7
triadic
#4854E7 #E74854 #54E748
tetradic
#4854E7 #E748A3 #E7DB48 #48E78C
square
#4854E7 #E748A3 #E7DB48 #48E78C
split-complementary
#4854E7 #E78C48 #A3E748
monochromatic
#151FA0 #1C2AD6 #4854E7 #7E87EE #B4B9F5

Accessibility & contrast

On white

5.68
#4854E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4854E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854E7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854E7#FFFFFF#000000##FFFFFF
##4854E71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4854e7;
/* rgb */ color: rgb(72, 84, 231);
/* oklch */ color: oklch(53.0% 0.219 272.7);
Tailwind
colors: {
  custom: {
    50: '#8f84f0',
    500: '#4854e7',
    950: '#000000',
  },
}
SCSS
$custom: #4854e7;
$custom-light: #8f84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4854e7",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 235.472,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.21889,
    "h": 272.7
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#4854E7
secondary
#E4E0A6
accent
#E534F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4854E7

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

Preview Lab → · Contrast checker → · Palette generator →

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