#5D56EF#5D56EF

#5D56EF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.222 H 278.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5D56EF
RGBrgb(93, 86, 239)
HSLhsl(243, 83%, 64%)
HSVhsv(243, 64%, 94%)
CMYKcmyk(61.1%, 64%, 0%, 6.3%)
CIE-LABlab(45.92, 46.53, -76.19)
CIE-LCHlch(45.92, 89.27, 301.42°)
OKLaboklab(55.32% 0.0321 -0.2195)
OKLCHoklch(55.32% 0.222 278.3)
XYZxyz(23.4170, 15.2129, 83.3470)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56EF #E8EF56
analogous
#569BEF #5D56EF #A956EF
triadic
#5D56EF #EF5D56 #56EF5D
tetradic
#5D56EF #EF569B #E8EF56 #56EFA9
square
#5D56EF #EF569B #E8EF56 #56EFA9
split-complementary
#5D56EF #EFA956 #9BEF56
monochromatic
#1912B9 #271EEA #5D56EF #938EF4 #C8C6FA

Accessibility & contrast

On white

5.19
#5D56EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5D56EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56EF#FFFFFF#000000##FFFFFF
##5D56EF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d56ef;
/* rgb */ color: rgb(93, 86, 239);
/* oklch */ color: oklch(55.3% 0.222 278.3);
Tailwind
colors: {
  custom: {
    50: '#9a86f5',
    500: '#5d56ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d56ef;
$custom-light: #9a86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56ef",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 242.745,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.22181,
    "h": 278.3
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#5D56EF
secondary
#E9EBB5
accent
#DF06D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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