#5B53CB#5B53CB

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

Color values

HEX#5B53CB
RGBrgb(91, 83, 203)
HSLhsl(244, 54%, 56%)
HSVhsv(244, 59%, 80%)
CMYKcmyk(55.2%, 59.1%, 0%, 20.4%)
CIE-LABlab(42.34, 36.64, -61.53)
CIE-LCHlch(42.34, 71.61, 300.77°)
OKLaboklab(51.8% 0.0346 -0.1765)
OKLCHoklch(51.8% 0.18 281.1)
XYZxyz(18.1838, 12.7213, 57.9856)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53CB #C3CB53
analogous
#5387CB #5B53CB #9753CB
triadic
#5B53CB #CB5B53 #53CB5B
tetradic
#5B53CB #CB5387 #C3CB53 #53CB97
square
#5B53CB #CB5387 #C3CB53 #53CB97
split-complementary
#5B53CB #CB9753 #87CB53
monochromatic
#2C267E #3C34AD #5B53CB #8882D9 #B5B1E7

Accessibility & contrast

On white

5.92
#5B53CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B53CB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53CB#FFFFFF#000000##FFFFFF
##5B53CB1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#246F87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b53cb;
/* rgb */ color: rgb(91, 83, 203);
/* oklch */ color: oklch(51.8% 0.180 281.1);
Tailwind
colors: {
  custom: {
    50: '#9384dc',
    500: '#5b53cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b53cb;
$custom-light: #9384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53cb",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 244,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.17983,
    "h": 281.1
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#5B53CB
secondary
#D2D6A4
accent
#DD4BD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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