#5850DB#5850DB

#5850DB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.205 H 279.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5850DB
RGBrgb(88, 80, 219)
HSLhsl(243, 66%, 59%)
HSVhsv(243, 63%, 86%)
CMYKcmyk(59.8%, 63.5%, 0%, 14.1%)
CIE-LABlab(42.65, 42.97, -70.22)
CIE-LCHlch(42.65, 82.33, 301.47°)
OKLaboklab(52.35% 0.0327 -0.2021)
OKLCHoklch(52.35% 0.205 279.2)
XYZxyz(19.6753, 12.9251, 68.4621)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850DB #D3DB50
analogous
#508DDB #5850DB #9D50DB
triadic
#5850DB #DB5850 #50DB58
tetradic
#5850DB #DB508D #D3DB50 #50DB9D
square
#5850DB #DB508D #D3DB50 #50DB9D
split-complementary
#5850DB #DB9D50 #8DDB50
monochromatic
#251E92 #3229C5 #5850DB #8883E5 #B9B6F0

Accessibility & contrast

On white

5.86
#5850DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5850DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850DB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850DB#FFFFFF#000000##FFFFFF
##5850DB1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5850db;
/* rgb */ color: rgb(88, 80, 219);
/* oklch */ color: oklch(52.3% 0.205 279.2);
Tailwind
colors: {
  custom: {
    50: '#9482e7',
    500: '#5850db',
    950: '#000000',
  },
}
SCSS
$custom: #5850db;
$custom-light: #9482e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5850db",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 243.453,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.20476,
    "h": 279.2
  },
  "luminance": 0.12927
}

Semantic roles & 50–950 ramp

primary
#5850DB
secondary
#DCDFA8
accent
#E93FDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5850DB

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

Preview Lab → · Contrast checker → · Palette generator →

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