#5754C8#5754C8

#5754C8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.175 H 279.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5754C8
RGBrgb(87, 84, 200)
HSLhsl(242, 51%, 56%)
HSVhsv(242, 58%, 78%)
CMYKcmyk(56.5%, 58%, 0%, 21.6%)
CIE-LABlab(42.06, 34.33, -60.27)
CIE-LCHlch(42.06, 69.36, 299.67°)
OKLaboklab(51.44% 0.0287 -0.1729)
OKLCHoklch(51.44% 0.175 279.4)
XYZxyz(17.5228, 12.5358, 56.1287)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754C8 #C5C854
analogous
#548BC8 #5754C8 #9154C8
triadic
#5754C8 #C85754 #54C857
tetradic
#5754C8 #C8548B #C5C854 #54C891
square
#5754C8 #C8548B #C5C854 #54C891
split-complementary
#5754C8 #C89154 #8BC854
monochromatic
#29277A #3936A9 #5754C8 #8482D7 #B2B1E6

Accessibility & contrast

On white

5.99
#5754C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5754C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754C8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754C8#FFFFFF#000000##FFFFFF
##5754C81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#196F86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5754c8;
/* rgb */ color: rgb(87, 84, 200);
/* oklch */ color: oklch(51.4% 0.175 279.4);
Tailwind
colors: {
  custom: {
    50: '#9084d9',
    500: '#5754c8',
    950: '#000000',
  },
}
SCSS
$custom: #5754c8;
$custom-light: #9084d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5754c8",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 241.552,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.17526,
    "h": 279.4
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#5754C8
secondary
#D3D4A4
accent
#DB4DD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5754C8

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

Preview Lab → · Contrast checker → · Palette generator →

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