#5D56EB#5D56EB

#5D56EB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.217 H 278.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5D56EB
RGBrgb(93, 86, 235)
HSLhsl(243, 79%, 63%)
HSVhsv(243, 63%, 92%)
CMYKcmyk(60.4%, 63.4%, 0%, 7.8%)
CIE-LABlab(45.61, 45.28, -74.46)
CIE-LCHlch(45.61, 87.14, 301.30°)
OKLaboklab(54.99% 0.0325 -0.2144)
OKLCHoklch(54.99% 0.217 278.6)
XYZxyz(22.8326, 14.9792, 80.2692)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56EB #E4EB56
analogous
#5699EB #5D56EB #A856EB
triadic
#5D56EB #EB5D56 #56EB5D
tetradic
#5D56EB #EB5699 #E4EB56 #56EBA8
square
#5D56EB #EB5699 #E4EB56 #56EBA8
split-complementary
#5D56EB #EBA856 #99EB56
monochromatic
#1C15B2 #291FE5 #5D56EB #918DF1 #C6C3F8

Accessibility & contrast

On white

5.25
#5D56EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5D56EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56EB#FFFFFF#000000##FFFFFF
##5D56EB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d56eb;
/* rgb */ color: rgb(93, 86, 235);
/* oklch */ color: oklch(55.0% 0.217 278.6);
Tailwind
colors: {
  custom: {
    50: '#9986f3',
    500: '#5d56eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d56eb;
$custom-light: #9986f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56eb",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 242.819,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.21685,
    "h": 278.6
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#5D56EB
secondary
#E7E9B4
accent
#DB0AD1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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