#5D55C8#5D55C8

#5D55C8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.173 H 281.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5D55C8
RGBrgb(93, 85, 200)
HSLhsl(244, 51%, 56%)
HSVhsv(244, 58%, 78%)
CMYKcmyk(53.5%, 57.5%, 0%, 21.6%)
CIE-LABlab(42.75, 34.87, -59.12)
CIE-LCHlch(42.75, 68.63, 300.53°)
OKLaboklab(52.07% 0.035 -0.1693)
OKLCHoklch(52.07% 0.173 281.7)
XYZxyz(18.1848, 12.9932, 56.1821)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D55C8 #C0C855
analogous
#5586C8 #5D55C8 #9655C8
triadic
#5D55C8 #C85D55 #55C85D
tetradic
#5D55C8 #C85586 #C0C855 #55C896
square
#5D55C8 #C85586 #C0C855 #55C896
split-complementary
#5D55C8 #C89655 #86C855
monochromatic
#2E287B #3F37A9 #5D55C8 #8983D7 #B5B1E6

Accessibility & contrast

On white

5.84
#5D55C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D55C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D55C8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D55C8#FFFFFF#000000##FFFFFF
##5D55C81.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#2E7086
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d55c8;
/* rgb */ color: rgb(93, 85, 200);
/* oklch */ color: oklch(52.1% 0.173 281.7);
Tailwind
colors: {
  custom: {
    50: '#9385d9',
    500: '#5d55c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d55c8;
$custom-light: #9385d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d55c8",
  "rgb": {
    "r": 93,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 244.174,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.17291,
    "h": 281.7
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#5D55C8
secondary
#D1D4A5
accent
#DB4DD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D55C8

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

Preview Lab → · Contrast checker → · Palette generator →

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