#5754D3#5754D3

#5754D3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.190 H 278.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5754D3
RGBrgb(87, 84, 211)
HSLhsl(241, 59%, 58%)
HSVhsv(241, 60%, 83%)
CMYKcmyk(58.8%, 60.2%, 0%, 17.3%)
CIE-LABlab(42.87, 37.87, -65.29)
CIE-LCHlch(42.87, 75.48, 300.12°)
OKLaboklab(52.29% 0.0285 -0.1877)
OKLCHoklch(52.29% 0.19 278.6)
XYZxyz(18.8549, 13.0687, 63.1443)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754D3 #D0D354
analogous
#5491D3 #5754D3 #9654D3
triadic
#5754D3 #D35754 #54D357
tetradic
#5754D3 #D35491 #D0D354 #54D396
square
#5754D3 #D35491 #D0D354 #54D396
split-complementary
#5754D3 #D39654 #91D354
monochromatic
#262389 #3330BA #5754D3 #8785E0 #B7B5EC

Accessibility & contrast

On white

5.81
#5754D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5754D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754D3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754D3#FFFFFF#000000##FFFFFF
##5754D31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5754d3;
/* rgb */ color: rgb(87, 84, 211);
/* oklch */ color: oklch(52.3% 0.190 278.6);
Tailwind
colors: {
  custom: {
    50: '#9284e1',
    500: '#5754d3',
    950: '#000000',
  },
}
SCSS
$custom: #5754d3;
$custom-light: #9284e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5754d3",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 241.417,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.1898,
    "h": 278.6
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#5754D3
secondary
#DADBA8
accent
#E246DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5754D3

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

Preview Lab → · Contrast checker → · Palette generator →

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