#5E53BD#5E53BD

#5E53BD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.161 H 283.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5E53BD
RGBrgb(94, 83, 189)
HSLhsl(246, 45%, 53%)
HSVhsv(246, 56%, 74%)
CMYKcmyk(50.3%, 56.1%, 0%, 25.9%)
CIE-LABlab(41.59, 32.86, -54.59)
CIE-LCHlch(41.59, 63.72, 301.05°)
OKLaboklab(50.99% 0.0384 -0.156)
OKLCHoklch(50.99% 0.161 283.8)
XYZxyz(16.8919, 12.2394, 49.6066)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E53BD #B2BD53
analogous
#537DBD #5E53BD #9353BD
triadic
#5E53BD #BD5E53 #53BD5E
tetradic
#5E53BD #BD537D #B2BD53 #53BD93
square
#5E53BD #BD537D #B2BD53 #53BD93
split-complementary
#5E53BD #BD9353 #7DBD53
monochromatic
#30296C #443A98 #5E53BD #877FCE #B1ABDF

Accessibility & contrast

On white

6.09
#5E53BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5E53BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E53BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E53BD#FFFFFF#000000##FFFFFF
##5E53BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C1
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#3A6B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e53bd;
/* rgb */ color: rgb(94, 83, 189);
/* oklch */ color: oklch(51.0% 0.161 283.8);
Tailwind
colors: {
  custom: {
    50: '#9383d2',
    500: '#5e53bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e53bd;
$custom-light: #9383d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e53bd",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 246.226,
    "s": 44.538,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.16066,
    "h": 283.8
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#5E53BD
secondary
#C8CD9F
accent
#D454C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5E53BD

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

Preview Lab → · Contrast checker → · Palette generator →

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