#5B53CA#5B53CA

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

Color values

HEX#5B53CA
RGBrgb(91, 83, 202)
HSLhsl(244, 53%, 56%)
HSVhsv(244, 59%, 79%)
CMYKcmyk(55%, 58.9%, 0%, 20.8%)
CIE-LABlab(42.27, 36.32, -61.07)
CIE-LCHlch(42.27, 71.05, 300.75°)
OKLaboklab(51.72% 0.0346 -0.1751)
OKLCHoklch(51.72% 0.179 281.2)
XYZxyz(18.0650, 12.6738, 57.3600)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53CA #C2CA53
analogous
#5386CA #5B53CA #9653CA
triadic
#5B53CA #CA5B53 #53CA5B
tetradic
#5B53CA #CA5386 #C2CA53 #53CA96
square
#5B53CA #CA5386 #C2CA53 #53CA96
split-complementary
#5B53CA #CA9653 #86CA53
monochromatic
#2C267C #3D35AB #5B53CA #8882D8 #B4B1E7

Accessibility & contrast

On white

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

On black

3.54
#5B53CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B53CA#FFFFFF#000000##FFFFFF
##5B53CA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#266F86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b53ca;
/* rgb */ color: rgb(91, 83, 202);
/* oklch */ color: oklch(51.7% 0.179 281.2);
Tailwind
colors: {
  custom: {
    50: '#9384db',
    500: '#5b53ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b53ca;
$custom-light: #9384db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53ca",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 244.034,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.17851,
    "h": 281.2
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#5B53CA
secondary
#D2D5A4
accent
#DC4CD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B53CA

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

Preview Lab → · Contrast checker → · Palette generator →

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