#5A53BF#5A53BF

#5A53BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.164 H 281.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A53BF
RGBrgb(90, 83, 191)
HSLhsl(244, 46%, 54%)
HSVhsv(244, 57%, 75%)
CMYKcmyk(52.9%, 56.5%, 0%, 25.1%)
CIE-LABlab(41.41, 32.66, -56.08)
CIE-LCHlch(41.41, 64.90, 300.22°)
OKLaboklab(50.82% 0.0334 -0.1605)
OKLCHoklch(50.82% 0.164 281.8)
XYZxyz(16.7108, 12.1208, 50.7391)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53BF #B8BF53
analogous
#5382BF #5A53BF #9053BF
triadic
#5A53BF #BF5A53 #53BF5A
tetradic
#5A53BF #BF5382 #B8BF53 #53BF90
square
#5A53BF #BF5382 #B8BF53 #53BF90
split-complementary
#5A53BF #BF9053 #82BF53
monochromatic
#2E296E #403A9B #5A53BF #8580D0 #B0ACE0

Accessibility & contrast

On white

6.13
#5A53BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5A53BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53BF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53BF#FFFFFF#000000##FFFFFF
##5A53BF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#2F6C81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a53bf;
/* rgb */ color: rgb(90, 83, 191);
/* oklch */ color: oklch(50.8% 0.164 281.8);
Tailwind
colors: {
  custom: {
    50: '#9183d3',
    500: '#5a53bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a53bf;
$custom-light: #9183d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53bf",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 243.889,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.16393,
    "h": 281.8
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#5A53BF
secondary
#CBCEA0
accent
#D552CD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5A53BF

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

Preview Lab → · Contrast checker → · Palette generator →

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