#5754E9#5754E9

#5754E9 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.218 H 277.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5754E9
RGBrgb(87, 84, 233)
HSLhsl(241, 77%, 62%)
HSVhsv(241, 64%, 91%)
CMYKcmyk(62.7%, 63.9%, 0%, 8.6%)
CIE-LABlab(44.59, 44.93, -75.01)
CIE-LCHlch(44.59, 87.44, 300.92°)
OKLaboklab(54.09% 0.0271 -0.2162)
OKLCHoklch(54.09% 0.218 277.1)
XYZxyz(21.8040, 14.2483, 78.6762)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E9 #E6E954
analogous
#549CE9 #5754E9 #A254E9
triadic
#5754E9 #E95754 #54E957
tetradic
#5754E9 #E9549C #E6E954 #54E9A2
square
#5754E9 #E9549C #E6E954 #54E9A2
split-complementary
#5754E9 #E9A254 #9CE954
monochromatic
#1916AC #221EE2 #5754E9 #8C8AF0 #C2C0F7

Accessibility & contrast

On white

5.45
#5754E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5754E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E9#FFFFFF#000000##FFFFFF
##5754E91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5754e9;
/* rgb */ color: rgb(87, 84, 233);
/* oklch */ color: oklch(54.1% 0.218 277.1);
Tailwind
colors: {
  custom: {
    50: '#9685f1',
    500: '#5754e9',
    950: '#000000',
  },
}
SCSS
$custom: #5754e9;
$custom-light: #9685f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e9",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 241.208,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.21789,
    "h": 277.1
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#5754E9
secondary
#E7E8B1
accent
#D90CD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754E9

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

Preview Lab → · Contrast checker → · Palette generator →

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