#5850BB#5850BB

#5850BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.163 H 282.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5850BB
RGBrgb(88, 80, 187)
HSLhsl(244, 44%, 52%)
HSVhsv(244, 57%, 73%)
CMYKcmyk(52.9%, 57.2%, 0%, 26.7%)
CIE-LABlab(40.24, 32.84, -55.63)
CIE-LCHlch(40.24, 64.60, 300.55°)
OKLaboklab(49.83% 0.0341 -0.1592)
OKLCHoklch(49.83% 0.163 282.1)
XYZxyz(15.8601, 11.3990, 48.3686)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850BB #B3BB50
analogous
#507EBB #5850BB #8E50BB
triadic
#5850BB #BB5850 #50BB58
tetradic
#5850BB #BB507E #B3BB50 #50BB8E
square
#5850BB #BB507E #B3BB50 #50BB8E
split-complementary
#5850BB #BB8E50 #7EBB50
monochromatic
#2D2868 #403A94 #5850BB #827CCC #ACA8DD

Accessibility & contrast

On white

6.40
#5850BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5850BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850BB#FFFFFF#000000##FFFFFF
##5850BB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#2E697E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5850bb;
/* rgb */ color: rgb(88, 80, 187);
/* oklch */ color: oklch(49.8% 0.163 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f81d0',
    500: '#5850bb',
    950: '#000000',
  },
}
SCSS
$custom: #5850bb;
$custom-light: #8f81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5850bb",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 244.486,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.16285,
    "h": 282.1
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#5850BB
secondary
#C7CB9C
accent
#D454CA
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5850BB

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

Preview Lab → · Contrast checker → · Palette generator →

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