#5354EC#5354EC

#5354EC is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.223 H 275.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5354EC
RGBrgb(83, 84, 236)
HSLhsl(240, 80%, 63%)
HSVhsv(240, 65%, 93%)
CMYKcmyk(64.8%, 64.4%, 0%, 7.5%)
CIE-LABlab(44.57, 45.34, -76.75)
CIE-LCHlch(44.57, 89.14, 300.57°)
OKLaboklab(54.08% 0.0221 -0.2214)
OKLCHoklch(54.08% 0.223 275.7)
XYZxyz(21.8730, 14.2339, 80.9354)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5354EC #ECEB53
analogous
#53A0EC #5354EC #9F53EC
triadic
#5354EC #EC5354 #54EC53
tetradic
#5354EC #EC53A0 #ECEB53 #53EC9F
square
#5354EC #EC53A0 #ECEB53 #53EC9F
split-complementary
#5354EC #EC9F53 #A0EC53
monochromatic
#1415B1 #1C1DE6 #5354EC #8A8BF2 #C1C2F8

Accessibility & contrast

On white

5.46
#5354EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5354EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5354EC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5354EC#FFFFFF#000000##FFFFFF
##5354EC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5354ec;
/* rgb */ color: rgb(83, 84, 236);
/* oklch */ color: oklch(54.1% 0.223 275.7);
Tailwind
colors: {
  custom: {
    50: '#9485f3',
    500: '#5354ec',
    950: '#000000',
  },
}
SCSS
$custom: #5354ec;
$custom-light: #9485f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5354ec",
  "rgb": {
    "r": 83,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 239.608,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.2225,
    "h": 275.7
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#5354EC
secondary
#E9E9B2
accent
#DB09DC
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5354EC

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

Preview Lab → · Contrast checker → · Palette generator →

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