#5D53CB#5D53CB

#5D53CB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.180 H 281.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5D53CB
RGBrgb(93, 83, 203)
HSLhsl(245, 54%, 56%)
HSVhsv(245, 59%, 80%)
CMYKcmyk(54.2%, 59.1%, 0%, 20.4%)
CIE-LABlab(42.50, 37.01, -61.26)
CIE-LCHlch(42.50, 71.58, 301.14°)
OKLaboklab(51.95% 0.0371 -0.1756)
OKLCHoklch(51.95% 0.18 281.9)
XYZxyz(18.3836, 12.8244, 57.9950)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D53CB #C1CB53
analogous
#5385CB #5D53CB #9953CB
triadic
#5D53CB #CB5D53 #53CB5D
tetradic
#5D53CB #CB5385 #C1CB53 #53CB99
square
#5D53CB #CB5385 #C1CB53 #53CB99
split-complementary
#5D53CB #CB9953 #85CB53
monochromatic
#2D267E #3E34AD #5D53CB #8982D9 #B6B1E7

Accessibility & contrast

On white

5.89
#5D53CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5D53CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D53CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D53CB#FFFFFF#000000##FFFFFF
##5D53CB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d53cb;
/* rgb */ color: rgb(93, 83, 203);
/* oklch */ color: oklch(52.0% 0.180 281.9);
Tailwind
colors: {
  custom: {
    50: '#9484dc',
    500: '#5d53cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d53cb;
$custom-light: #9484dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d53cb",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 245,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.17951,
    "h": 281.9
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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