#5A53BB#5A53BB

#5A53BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.158 H 282.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5A53BB
RGBrgb(90, 83, 187)
HSLhsl(244, 43%, 53%)
HSVhsv(244, 56%, 73%)
CMYKcmyk(51.9%, 55.6%, 0%, 26.7%)
CIE-LABlab(41.13, 31.40, -54.19)
CIE-LCHlch(41.13, 62.63, 300.09°)
OKLaboklab(50.52% 0.0334 -0.1549)
OKLCHoklch(50.52% 0.158 282.1)
XYZxyz(16.2766, 11.9471, 48.4524)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53BB #B4BB53
analogous
#5380BB #5A53BB #8E53BB
triadic
#5A53BB #BB5A53 #53BB5A
tetradic
#5A53BB #BB5380 #B4BB53 #53BB8E
square
#5A53BB #BB5380 #B4BB53 #53BB8E
split-complementary
#5A53BB #BB8E53 #80BB53
monochromatic
#2E2A6A #413B96 #5A53BB #847FCC #AEABDE

Accessibility & contrast

On white

6.20
#5A53BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5A53BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53BB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53BB#FFFFFF#000000##FFFFFF
##5A53BB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#336B7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a53bb;
/* rgb */ color: rgb(90, 83, 187);
/* oklch */ color: oklch(50.5% 0.158 282.1);
Tailwind
colors: {
  custom: {
    50: '#9083d0',
    500: '#5a53bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a53bb;
$custom-light: #9083d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53bb",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 244.038,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.15847,
    "h": 282.1
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#5A53BB
secondary
#C8CB9E
accent
#D355CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5A53BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5A53BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva