#5E53CC#5E53CC

#5E53CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.181 H 282.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5E53CC
RGBrgb(94, 83, 204)
HSLhsl(245, 54%, 56%)
HSVhsv(245, 59%, 80%)
CMYKcmyk(53.9%, 59.3%, 0%, 20%)
CIE-LABlab(42.65, 37.51, -61.59)
CIE-LCHlch(42.65, 72.12, 301.35°)
OKLaboklab(52.11% 0.0383 -0.1766)
OKLCHoklch(52.11% 0.181 282.2)
XYZxyz(18.6051, 12.9247, 58.6294)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E53CC #C1CC53
analogous
#5385CC #5E53CC #9B53CC
triadic
#5E53CC #CC5E53 #53CC5E
tetradic
#5E53CC #CC5385 #C1CC53 #53CC9B
square
#5E53CC #CC5385 #C1CC53 #53CC9B
split-complementary
#5E53CC #CC9B53 #85CC53
monochromatic
#2E267F #3F34AE #5E53CC #8A82DA #B6B1E8

Accessibility & contrast

On white

5.86
#5E53CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E53CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E53CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E53CC#FFFFFF#000000##FFFFFF
##5E53CC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#2D7087
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e53cc;
/* rgb */ color: rgb(94, 83, 204);
/* oklch */ color: oklch(52.1% 0.181 282.2);
Tailwind
colors: {
  custom: {
    50: '#9584dc',
    500: '#5e53cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e53cc;
$custom-light: #9584dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e53cc",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 245.455,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.18068,
    "h": 282.2
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E53CC

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

Preview Lab → · Contrast checker → · Palette generator →

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