#5753BA#5753BA

#5753BA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.158 H 280.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5753BA
RGBrgb(87, 83, 186)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 55%, 73%)
CMYKcmyk(53.2%, 55.4%, 0%, 27.1%)
CIE-LABlab(40.83, 30.46, -54.11)
CIE-LCHlch(40.83, 62.09, 299.38°)
OKLaboklab(50.22% 0.0296 -0.1548)
OKLCHoklch(50.22% 0.158 280.8)
XYZxyz(15.8839, 11.7570, 47.8772)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5753BA #B6BA53
analogous
#5382BA #5753BA #8A53BA
triadic
#5753BA #BA5753 #53BA57
tetradic
#5753BA #BA5382 #B6BA53 #53BA8A
square
#5753BA #BA5382 #B6BA53 #53BA8A
split-complementary
#5753BA #BA8A53 #82BA53
monochromatic
#2C2A69 #3F3B94 #5753BA #827FCC #ACAADD

Accessibility & contrast

On white

6.27
#5753BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5753BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5753BA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5753BA#FFFFFF#000000##FFFFFF
##5753BA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#2C6A7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5753ba;
/* rgb */ color: rgb(87, 83, 186);
/* oklch */ color: oklch(50.2% 0.158 280.8);
Tailwind
colors: {
  custom: {
    50: '#8e83cf',
    500: '#5753ba',
    950: '#000000',
  },
}
SCSS
$custom: #5753ba;
$custom-light: #8e83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5753ba",
  "rgb": {
    "r": 87,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 242.33,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.15758,
    "h": 280.8
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#5753BA
secondary
#C9CB9E
accent
#D355CE
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5753BA

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

Preview Lab → · Contrast checker → · Palette generator →

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