#5354E4#5354E4

#5354E4 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.212 H 276.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5354E4
RGBrgb(83, 84, 228)
HSLhsl(240, 73%, 61%)
HSVhsv(240, 64%, 89%)
CMYKcmyk(63.6%, 63.2%, 0%, 10.6%)
CIE-LABlab(43.91, 42.75, -73.29)
CIE-LCHlch(43.91, 84.85, 300.25°)
OKLaboklab(53.41% 0.0228 -0.2113)
OKLCHoklch(53.41% 0.212 276.1)
XYZxyz(20.7366, 13.7794, 74.9506)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5354E4 #E4E353
analogous
#539CE4 #5354E4 #9A53E4
triadic
#5354E4 #E45354 #54E453
tetradic
#5354E4 #E4539C #E4E353 #53E49A
square
#5354E4 #E4539C #E4E353 #53E49A
split-complementary
#5354E4 #E49A53 #9CE453
monochromatic
#1A1BA3 #2223D8 #5354E4 #8889EC #BDBDF5

Accessibility & contrast

On white

5.59
#5354E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5354E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5354E4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5354E4#FFFFFF#000000##FFFFFF
##5354E41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5354e4;
/* rgb */ color: rgb(83, 84, 228);
/* oklch */ color: oklch(53.4% 0.212 276.1);
Tailwind
colors: {
  custom: {
    50: '#9384ee',
    500: '#5354e4',
    950: '#000000',
  },
}
SCSS
$custom: #5354e4;
$custom-light: #9384ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5354e4",
  "rgb": {
    "r": 83,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 239.586,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.21248,
    "h": 276.1
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#5354E4
secondary
#E5E4AE
accent
#D411D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5354E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5354E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva