#5A53CB#5A53CB

#5A53CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.180 H 280.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5A53CB
RGBrgb(90, 83, 203)
HSLhsl(244, 54%, 56%)
HSVhsv(244, 59%, 80%)
CMYKcmyk(55.7%, 59.1%, 0%, 20.4%)
CIE-LABlab(42.26, 36.45, -61.65)
CIE-LCHlch(42.26, 71.63, 300.59°)
OKLaboklab(51.72% 0.0333 -0.1769)
OKLCHoklch(51.72% 0.18 280.7)
XYZxyz(18.0858, 12.6708, 57.9810)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53CB #C4CB53
analogous
#5388CB #5A53CB #9653CB
triadic
#5A53CB #CB5A53 #53CB5A
tetradic
#5A53CB #CB5388 #C4CB53 #53CB96
square
#5A53CB #CB5388 #C4CB53 #53CB96
split-complementary
#5A53CB #CB9653 #88CB53
monochromatic
#2B267E #3B34AD #5A53CB #8782D9 #B4B1E7

Accessibility & contrast

On white

5.94
#5A53CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5A53CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53CB#FFFFFF#000000##FFFFFF
##5A53CB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#217087
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a53cb;
/* rgb */ color: rgb(90, 83, 203);
/* oklch */ color: oklch(51.7% 0.180 280.7);
Tailwind
colors: {
  custom: {
    50: '#9284dc',
    500: '#5a53cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a53cb;
$custom-light: #9284dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53cb",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 243.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.18,
    "h": 280.7
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#5A53CB
secondary
#D3D6A4
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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