#5754D2#5754D2

#5754D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.188 H 278.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5754D2
RGBrgb(87, 84, 210)
HSLhsl(241, 58%, 58%)
HSVhsv(241, 60%, 82%)
CMYKcmyk(58.6%, 60%, 0%, 17.6%)
CIE-LABlab(42.79, 37.55, -64.84)
CIE-LCHlch(42.79, 74.93, 300.08°)
OKLaboklab(52.22% 0.0285 -0.1863)
OKLCHoklch(52.22% 0.188 278.7)
XYZxyz(18.7300, 13.0187, 62.4861)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754D2 #CFD254
analogous
#5490D2 #5754D2 #9654D2
triadic
#5754D2 #D25754 #54D257
tetradic
#5754D2 #D25490 #CFD254 #54D296
square
#5754D2 #D25490 #CFD254 #54D296
split-complementary
#5754D2 #D29654 #90D254
monochromatic
#262488 #3431B8 #5754D2 #8784DF #B6B5EB

Accessibility & contrast

On white

5.83
#5754D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5754D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754D2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754D2#FFFFFF#000000##FFFFFF
##5754D21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5754d2;
/* rgb */ color: rgb(87, 84, 210);
/* oklch */ color: oklch(52.2% 0.188 278.7);
Tailwind
colors: {
  custom: {
    50: '#9284e1',
    500: '#5754d2',
    950: '#000000',
  },
}
SCSS
$custom: #5754d2;
$custom-light: #9284e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5754d2",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 241.429,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.18849,
    "h": 278.7
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#5754D2
secondary
#D9DAA8
accent
#E246DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5754D2

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

Preview Lab → · Contrast checker → · Palette generator →

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