#5753CF#5753CF

#5753CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.186 H 279.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5753CF
RGBrgb(87, 83, 207)
HSLhsl(242, 56%, 57%)
HSVhsv(242, 60%, 81%)
CMYKcmyk(58%, 59.9%, 0%, 18.8%)
CIE-LABlab(42.33, 37.19, -63.86)
CIE-LCHlch(42.33, 73.90, 300.22°)
OKLaboklab(51.81% 0.0295 -0.1834)
OKLCHoklch(51.81% 0.186 279.1)
XYZxyz(18.2827, 12.7165, 60.5105)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5753CF #CBCF53
analogous
#538DCF #5753CF #9553CF
triadic
#5753CF #CF5753 #53CF57
tetradic
#5753CF #CF538D #CBCF53 #53CF95
square
#5753CF #CF538D #CBCF53 #53CF95
split-complementary
#5753CF #CF9553 #8DCF53
monochromatic
#282583 #3632B3 #5753CF #8683DC #B4B3EA

Accessibility & contrast

On white

5.93
#5753CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5753CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5753CF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5753CF#FFFFFF#000000##FFFFFF
##5753CF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#057189
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5753cf;
/* rgb */ color: rgb(87, 83, 207);
/* oklch */ color: oklch(51.8% 0.186 279.1);
Tailwind
colors: {
  custom: {
    50: '#9183df',
    500: '#5753cf',
    950: '#000000',
  },
}
SCSS
$custom: #5753cf;
$custom-light: #9183df;
$custom-dark: #000000;
JSON
{
  "hex": "#5753cf",
  "rgb": {
    "r": 87,
    "g": 83,
    "b": 207
  },
  "hsl": {
    "h": 241.935,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.18581,
    "h": 279.1
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#5753CF
secondary
#D7D8A6
accent
#E048DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5753CF

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

Preview Lab → · Contrast checker → · Palette generator →

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