#5D56CB#5D56CB

#5D56CB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.176 H 281.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5D56CB
RGBrgb(93, 86, 203)
HSLhsl(244, 53%, 57%)
HSVhsv(244, 58%, 80%)
CMYKcmyk(54.2%, 57.6%, 0%, 20.4%)
CIE-LABlab(43.20, 35.20, -60.12)
CIE-LCHlch(43.20, 69.67, 300.35°)
OKLaboklab(52.47% 0.034 -0.1723)
OKLCHoklch(52.47% 0.176 281.2)
XYZxyz(18.6181, 13.2934, 58.0732)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56CB #C4CB56
analogous
#568ACB #5D56CB #9856CB
triadic
#5D56CB #CB5D56 #56CB5D
tetradic
#5D56CB #CB568A #C4CB56 #56CB98
square
#5D56CB #CB568A #C4CB56 #56CB98
split-complementary
#5D56CB #CB9856 #8ACB56
monochromatic
#2C277F #3D36AE #5D56CB #8A85D9 #B7B4E8

Accessibility & contrast

On white

5.74
#5D56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5D56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56CB#FFFFFF#000000##FFFFFF
##5D56CB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#2A7188
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d56cb;
/* rgb */ color: rgb(93, 86, 203);
/* oklch */ color: oklch(52.5% 0.176 281.2);
Tailwind
colors: {
  custom: {
    50: '#9486dc',
    500: '#5d56cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d56cb;
$custom-light: #9486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56cb",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 243.59,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.1756,
    "h": 281.2
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#5D56CB
secondary
#D3D6A6
accent
#DC4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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