#5E56DB#5E56DB

#5E56DB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.8% C 0.196 H 280.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E56DB
RGBrgb(94, 86, 219)
HSLhsl(244, 65%, 60%)
HSVhsv(244, 61%, 86%)
CMYKcmyk(57.1%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.44, 40.41, -67.28)
CIE-LCHlch(44.44, 78.48, 300.99°)
OKLaboklab(53.77% 0.0348 -0.1933)
OKLCHoklch(53.77% 0.196 280.2)
XYZxyz(20.7260, 14.1483, 68.6428)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56DB #D3DB56
analogous
#5691DB #5E56DB #A156DB
triadic
#5E56DB #DB5E56 #56DB5E
tetradic
#5E56DB #DB5691 #D3DB56 #56DBA1
square
#5E56DB #DB5691 #D3DB56 #56DBA1
split-complementary
#5E56DB #DBA156 #91DB56
monochromatic
#272097 #342BC9 #5E56DB #8E88E6 #BEBBF0

Accessibility & contrast

On white

5.48
#5E56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56DB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56DB#FFFFFF#000000##FFFFFF
##5E56DB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e56db;
/* rgb */ color: rgb(94, 86, 219);
/* oklch */ color: oklch(53.8% 0.196 280.2);
Tailwind
colors: {
  custom: {
    50: '#9786e7',
    500: '#5e56db',
    950: '#000000',
  },
}
SCSS
$custom: #5e56db;
$custom-light: #9786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56db",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 243.609,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.19639,
    "h": 280.2
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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