#5D55EA#5D55EA

#5D55EA is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.217 H 278.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D55EA
RGBrgb(93, 85, 234)
HSLhsl(243, 78%, 63%)
HSVhsv(243, 64%, 92%)
CMYKcmyk(60.3%, 63.7%, 0%, 8.2%)
CIE-LABlab(45.31, 45.54, -74.38)
CIE-LCHlch(45.31, 87.22, 301.48°)
OKLaboklab(54.75% 0.0334 -0.2142)
OKLCHoklch(54.75% 0.217 278.9)
XYZxyz(22.6092, 14.7630, 79.4841)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D55EA #E2EA55
analogous
#5598EA #5D55EA #A755EA
triadic
#5D55EA #EA5D55 #55EA5D
tetradic
#5D55EA #EA5598 #E2EA55 #55EAA7
square
#5D55EA #EA5598 #E2EA55 #55EAA7
split-complementary
#5D55EA #EAA755 #98EA55
monochromatic
#1E16AF #291FE3 #5D55EA #918BF1 #C5C2F7

Accessibility & contrast

On white

5.31
#5D55EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D55EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D55EA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D55EA#FFFFFF#000000##FFFFFF
##5D55EA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d55ea;
/* rgb */ color: rgb(93, 85, 234);
/* oklch */ color: oklch(54.7% 0.217 278.9);
Tailwind
colors: {
  custom: {
    50: '#9986f2',
    500: '#5d55ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d55ea;
$custom-light: #9986f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d55ea",
  "rgb": {
    "r": 93,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 243.221,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.21676,
    "h": 278.9
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#5D55EA
secondary
#E6E8B2
accent
#DA0BCF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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