#5754E3#5754E3

#5754E3 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.210 H 277.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5754E3
RGBrgb(87, 84, 227)
HSLhsl(241, 72%, 61%)
HSVhsv(241, 63%, 89%)
CMYKcmyk(61.7%, 63%, 0%, 11%)
CIE-LABlab(44.11, 43.01, -72.40)
CIE-LCHlch(44.11, 84.21, 300.71°)
OKLaboklab(53.59% 0.0275 -0.2085)
OKLCHoklch(53.59% 0.21 277.5)
XYZxyz(20.9615, 13.9113, 74.2387)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E3 #E0E354
analogous
#5498E3 #5754E3 #9E54E3
triadic
#5754E3 #E35754 #54E357
tetradic
#5754E3 #E35498 #E0E354 #54E39E
square
#5754E3 #E35498 #E0E354 #54E39E
split-complementary
#5754E3 #E39E54 #98E354
monochromatic
#1D1BA2 #2723D7 #5754E3 #8B89EC #BEBDF4

Accessibility & contrast

On white

5.55
#5754E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5754E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E3#FFFFFF#000000##FFFFFF
##5754E31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5754e3;
/* rgb */ color: rgb(87, 84, 227);
/* oklch */ color: oklch(53.6% 0.210 277.5);
Tailwind
colors: {
  custom: {
    50: '#9585ed',
    500: '#5754e3',
    950: '#000000',
  },
}
SCSS
$custom: #5754e3;
$custom-light: #9585ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e3",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 241.259,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.21035,
    "h": 277.5
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#5754E3
secondary
#E3E4AE
accent
#D412D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5754E3

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

Preview Lab → · Contrast checker → · Palette generator →

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