#5D56DB#5D56DB

#5D56DB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.7% C 0.197 H 279.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D56DB
RGBrgb(93, 86, 219)
HSLhsl(243, 65%, 60%)
HSVhsv(243, 61%, 86%)
CMYKcmyk(57.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.37, 40.24, -67.40)
CIE-LCHlch(44.37, 78.50, 300.84°)
OKLaboklab(53.7% 0.0335 -0.1937)
OKLCHoklch(53.7% 0.197 279.8)
XYZxyz(20.6241, 14.0958, 68.6381)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56DB #D4DB56
analogous
#5691DB #5D56DB #A056DB
triadic
#5D56DB #DB5D56 #56DB5D
tetradic
#5D56DB #DB5691 #D4DB56 #56DBA0
square
#5D56DB #DB5691 #D4DB56 #56DBA0
split-complementary
#5D56DB #DBA056 #91DB56
monochromatic
#262097 #332BC9 #5D56DB #8D88E6 #BEBBF0

Accessibility & contrast

On white

5.50
#5D56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5D56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56DB#FFFFFF#000000##FFFFFF
##5D56DB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#0C7690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d56db;
/* rgb */ color: rgb(93, 86, 219);
/* oklch */ color: oklch(53.7% 0.197 279.8);
Tailwind
colors: {
  custom: {
    50: '#9686e7',
    500: '#5d56db',
    950: '#000000',
  },
}
SCSS
$custom: #5d56db;
$custom-light: #9686e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56db",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 243.158,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.537,
    "c": 0.19656,
    "h": 279.8
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#5D56DB
secondary
#DDE0AD
accent
#E840DF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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