#5855DB#5855DB

#5855DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.199 H 278.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5855DB
RGBrgb(88, 85, 219)
HSLhsl(241, 65%, 60%)
HSVhsv(241, 61%, 86%)
CMYKcmyk(59.8%, 61.2%, 0%, 14.1%)
CIE-LABlab(43.78, 40.01, -68.38)
CIE-LCHlch(43.78, 79.23, 300.33°)
OKLaboklab(53.17% 0.0284 -0.1967)
OKLCHoklch(53.17% 0.199 278.2)
XYZxyz(20.0551, 13.6847, 68.5887)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855DB #D8DB55
analogous
#5595DB #5855DB #9B55DB
triadic
#5855DB #DB5855 #55DB58
tetradic
#5855DB #DB5595 #D8DB55 #55DB9B
square
#5855DB #DB5595 #D8DB55 #55DB9B
split-complementary
#5855DB #DB9B55 #95DB55
monochromatic
#222096 #2E2AC8 #5855DB #8A88E6 #BBBAF0

Accessibility & contrast

On white

5.62
#5855DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5855DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855DB#FFFFFF#000000##FFFFFF
##5855DB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5855db;
/* rgb */ color: rgb(88, 85, 219);
/* oklch */ color: oklch(53.2% 0.199 278.2);
Tailwind
colors: {
  custom: {
    50: '#9485e7',
    500: '#5855db',
    950: '#000000',
  },
}
SCSS
$custom: #5855db;
$custom-light: #9485e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5855db",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 241.343,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.19875,
    "h": 278.2
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#5855DB
secondary
#DFE0AC
accent
#E840E4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5855DB

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

Preview Lab → · Contrast checker → · Palette generator →

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