#5754EC#5754EC

#5754EC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.222 H 276.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5754EC
RGBrgb(87, 84, 236)
HSLhsl(241, 80%, 63%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(63.1%, 64.4%, 0%, 7.5%)
CIE-LABlab(44.83, 45.89, -76.30)
CIE-LCHlch(44.83, 89.04, 301.02°)
OKLaboklab(54.34% 0.0268 -0.22)
OKLCHoklch(54.34% 0.222 276.9)
XYZxyz(22.2362, 14.4212, 80.9524)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754EC #E9EC54
analogous
#549DEC #5754EC #A354EC
triadic
#5754EC #EC5754 #54EC57
tetradic
#5754EC #EC549D #E9EC54 #54ECA3
square
#5754EC #EC549D #E9EC54 #54ECA3
split-complementary
#5754EC #ECA354 #9DEC54
monochromatic
#1714B2 #211DE6 #5754EC #8D8BF2 #C3C2F8

Accessibility & contrast

On white

5.41
#5754EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5754EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754EC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754EC#FFFFFF#000000##FFFFFF
##5754EC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5754ec;
/* rgb */ color: rgb(87, 84, 236);
/* oklch */ color: oklch(54.3% 0.222 276.9);
Tailwind
colors: {
  custom: {
    50: '#9685f3',
    500: '#5754ec',
    950: '#000000',
  },
}
SCSS
$custom: #5754ec;
$custom-light: #9685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ec",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 241.184,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.22161,
    "h": 276.9
  },
  "luminance": 0.14423
}

Semantic roles & 50–950 ramp

primary
#5754EC
secondary
#E8E9B2
accent
#DC09D8
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754EC

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

Preview Lab → · Contrast checker → · Palette generator →

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