#5754E1#5754E1

#5754E1 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.208 H 277.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5754E1
RGBrgb(87, 84, 225)
HSLhsl(241, 70%, 61%)
HSVhsv(241, 63%, 88%)
CMYKcmyk(61.3%, 62.7%, 0%, 11.8%)
CIE-LABlab(43.95, 42.37, -71.52)
CIE-LCHlch(43.95, 83.13, 300.64°)
OKLaboklab(53.42% 0.0277 -0.206)
OKLCHoklch(53.42% 0.208 277.7)
XYZxyz(20.6870, 13.8015, 72.7934)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E1 #DEE154
analogous
#5497E1 #5754E1 #9E54E1
triadic
#5754E1 #E15754 #54E157
tetradic
#5754E1 #E15497 #DEE154 #54E19E
square
#5754E1 #E15497 #DEE154 #54E19E
split-complementary
#5754E1 #E19E54 #97E154
monochromatic
#1F1C9F #2925D3 #5754E1 #8A88EA #BDBCF3

Accessibility & contrast

On white

5.58
#5754E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5754E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E1#FFFFFF#000000##FFFFFF
##5754E11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5754e1;
/* rgb */ color: rgb(87, 84, 225);
/* oklch */ color: oklch(53.4% 0.208 277.7);
Tailwind
colors: {
  custom: {
    50: '#9484eb',
    500: '#5754e1',
    950: '#000000',
  },
}
SCSS
$custom: #5754e1;
$custom-light: #9484eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e1",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 241.277,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.20782,
    "h": 277.7
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#5754E1
secondary
#E2E3AE
accent
#D213CE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5754E1

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

Preview Lab → · Contrast checker → · Palette generator →

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