#5856DB#5856DB

#5856DB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.198 H 278.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5856DB
RGBrgb(88, 86, 219)
HSLhsl(241, 65%, 60%)
HSVhsv(241, 61%, 86%)
CMYKcmyk(59.8%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.01, 39.41, -68.01)
CIE-LCHlch(44.01, 78.60, 300.09°)
OKLaboklab(53.34% 0.0275 -0.1956)
OKLCHoklch(53.34% 0.198 278)
XYZxyz(20.1344, 13.8433, 68.6151)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5856DB #D9DB56
analogous
#5697DB #5856DB #9A56DB
triadic
#5856DB #DB5856 #56DB58
tetradic
#5856DB #DB5697 #D9DB56 #56DB9A
square
#5856DB #DB5697 #D9DB56 #56DB9A
split-complementary
#5856DB #DB9A56 #97DB56
monochromatic
#222097 #2D2BC9 #5856DB #8A88E6 #BCBBF0

Accessibility & contrast

On white

5.57
#5856DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5856DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5856DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5856DB#FFFFFF#000000##FFFFFF
##5856DB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5856db;
/* rgb */ color: rgb(88, 86, 219);
/* oklch */ color: oklch(53.3% 0.198 278.0);
Tailwind
colors: {
  custom: {
    50: '#9486e7',
    500: '#5856db',
    950: '#000000',
  },
}
SCSS
$custom: #5856db;
$custom-light: #9486e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5856db",
  "rgb": {
    "r": 88,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 240.902,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.19752,
    "h": 278
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#5856DB
secondary
#DFE0AD
accent
#E840E5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5856DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5856DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva