#5D56CD#5D56CD

#5D56CD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.178 H 281.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5D56CD
RGBrgb(93, 86, 205)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 58%, 80%)
CMYKcmyk(54.6%, 58%, 0%, 19.6%)
CIE-LABlab(43.34, 35.83, -61.04)
CIE-LCHlch(43.34, 70.78, 300.41°)
OKLaboklab(52.62% 0.034 -0.175)
OKLCHoklch(52.62% 0.178 281)
XYZxyz(18.8580, 13.3893, 59.3365)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56CD #C6CD56
analogous
#568BCD #5D56CD #9856CD
triadic
#5D56CD #CD5D56 #56CD5D
tetradic
#5D56CD #CD568B #C6CD56 #56CD98
square
#5D56CD #CD568B #C6CD56 #56CD98
split-complementary
#5D56CD #CD9856 #8BCD56
monochromatic
#2C2682 #3C34B1 #5D56CD #8A85DB #B8B4E9

Accessibility & contrast

On white

5.71
#5D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5D56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56CD#FFFFFF#000000##FFFFFF
##5D56CD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#287289
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d56cd;
/* rgb */ color: rgb(93, 86, 205);
/* oklch */ color: oklch(52.6% 0.178 281.0);
Tailwind
colors: {
  custom: {
    50: '#9486dd',
    500: '#5d56cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d56cd;
$custom-light: #9486dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56cd",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 243.529,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.17825,
    "h": 281
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#5D56CD
secondary
#D5D8A7
accent
#DE4AD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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