#5D53C8#5D53C8

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

Color values

HEX#5D53C8
RGBrgb(93, 83, 200)
HSLhsl(245, 52%, 55%)
HSVhsv(245, 59%, 78%)
CMYKcmyk(53.5%, 58.5%, 0%, 21.6%)
CIE-LABlab(42.28, 36.08, -59.88)
CIE-LCHlch(42.28, 69.91, 301.07°)
OKLaboklab(51.72% 0.0371 -0.1716)
OKLCHoklch(51.72% 0.176 282.2)
XYZxyz(18.0296, 12.6827, 56.1304)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D53C8 #BEC853
analogous
#5383C8 #5D53C8 #9753C8
triadic
#5D53C8 #C85D53 #53C85D
tetradic
#5D53C8 #C85383 #BEC853 #53C897
square
#5D53C8 #C85383 #BEC853 #53C897
split-complementary
#5D53C8 #C89753 #83C853
monochromatic
#2E277A #4036A8 #5D53C8 #8981D7 #B4B0E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D53C8#FFFFFF#000000##FFFFFF
##5D53C81.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)
#0068CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#2E6E85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d53c8;
/* rgb */ color: rgb(93, 83, 200);
/* oklch */ color: oklch(51.7% 0.176 282.2);
Tailwind
colors: {
  custom: {
    50: '#9484d9',
    500: '#5d53c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d53c8;
$custom-light: #9484d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d53c8",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 245.128,
    "s": 51.542,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.17555,
    "h": 282.2
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#5D53C8
secondary
#D0D4A3
accent
#DB4DCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D53C8

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

Preview Lab → · Contrast checker → · Palette generator →

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