#5756CB#5756CB

#5756CB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.177 H 278.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5756CB
RGBrgb(87, 86, 203)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 58%, 80%)
CMYKcmyk(57.1%, 57.6%, 0%, 20.4%)
CIE-LABlab(42.75, 34.07, -60.87)
CIE-LCHlch(42.75, 69.76, 299.24°)
OKLaboklab(52.02% 0.0267 -0.1746)
OKLCHoklch(52.02% 0.177 278.7)
XYZxyz(18.0343, 12.9924, 58.0458)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756CB #CACB56
analogous
#5690CB #5756CB #9256CB
triadic
#5756CB #CB5756 #56CB57
tetradic
#5756CB #CB5690 #CACB56 #56CB92
square
#5756CB #CB5690 #CACB56 #56CB92
split-complementary
#5756CB #CB9256 #90CB56
monochromatic
#28277F #3736AE #5756CB #8685D9 #B4B4E8

Accessibility & contrast

On white

5.84
#5756CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5756CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756CB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756CB#FFFFFF#000000##FFFFFF
##5756CB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#117288
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5756cb;
/* rgb */ color: rgb(87, 86, 203);
/* oklch */ color: oklch(52.0% 0.177 278.7);
Tailwind
colors: {
  custom: {
    50: '#9186dc',
    500: '#5756cb',
    950: '#000000',
  },
}
SCSS
$custom: #5756cb;
$custom-light: #9186dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5756cb",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 240.513,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.17668,
    "h": 278.7
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#5756CB
secondary
#D6D6A6
accent
#DC4BDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5756CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5756CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva