#4854E2#4854E2

#4854E2 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.213 H 272.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4854E2
RGBrgb(72, 84, 226)
HSLhsl(235, 73%, 58%)
HSVhsv(235, 68%, 89%)
CMYKcmyk(68.1%, 62.8%, 0%, 11.4%)
CIE-LABlab(43.07, 40.60, -73.56)
CIE-LCHlch(43.07, 84.02, 298.89°)
OKLaboklab(52.56% 0.0107 -0.2123)
OKLCHoklch(52.56% 0.213 272.9)
XYZxyz(19.5657, 13.2075, 73.4549)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854E2 #E2D648
analogous
#48A1E2 #4854E2 #8948E2
triadic
#4854E2 #E24854 #54E248
tetradic
#4854E2 #E248A1 #E2D648 #48E289
square
#4854E2 #E248A1 #E2D648 #48E289
split-complementary
#4854E2 #E28948 #A1E248
monochromatic
#182298 #202ECC #4854E2 #7D85EA #B2B7F3

Accessibility & contrast

On white

5.77
#4854E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4854E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854E2#FFFFFF#000000##FFFFFF
##4854E21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4854e2;
/* rgb */ color: rgb(72, 84, 226);
/* oklch */ color: oklch(52.6% 0.213 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e84ec',
    500: '#4854e2',
    950: '#000000',
  },
}
SCSS
$custom: #4854e2;
$custom-light: #8e84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4854e2",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 235.325,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.21259,
    "h": 272.9
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#4854E2
secondary
#E1DDA4
accent
#E138EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4854E2

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

Preview Lab → · Contrast checker → · Palette generator →

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