#5753CC#5753CC

#5753CC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.182 H 279.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5753CC
RGBrgb(87, 83, 204)
HSLhsl(242, 54%, 56%)
HSVhsv(242, 59%, 80%)
CMYKcmyk(57.4%, 59.3%, 0%, 20%)
CIE-LABlab(42.11, 36.23, -62.49)
CIE-LCHlch(42.11, 72.23, 300.10°)
OKLaboklab(51.57% 0.0296 -0.1794)
OKLCHoklch(51.57% 0.182 279.4)
XYZxyz(17.9194, 12.5712, 58.5972)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5753CC #C8CC53
analogous
#538CCC #5753CC #9453CC
triadic
#5753CC #CC5753 #53CC57
tetradic
#5753CC #CC538C #C8CC53 #53CC94
square
#5753CC #CC538C #C8CC53 #53CC94
split-complementary
#5753CC #CC9453 #8CCC53
monochromatic
#29267F #3834AE #5753CC #8582DA #B3B1E8

Accessibility & contrast

On white

5.98
#5753CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5753CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5753CC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5753CC#FFFFFF#000000##FFFFFF
##5753CC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#107087
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5753cc;
/* rgb */ color: rgb(87, 83, 204);
/* oklch */ color: oklch(51.6% 0.182 279.4);
Tailwind
colors: {
  custom: {
    50: '#9183dc',
    500: '#5753cc',
    950: '#000000',
  },
}
SCSS
$custom: #5753cc;
$custom-light: #9183dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5753cc",
  "rgb": {
    "r": 87,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 241.983,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.18186,
    "h": 279.4
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#5753CC
secondary
#D5D6A4
accent
#DE4AD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5753CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5753CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva