#5861D2#5861D2

#5861D2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.172 H 275.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5861D2
RGBrgb(88, 97, 210)
HSLhsl(236, 58%, 58%)
HSVhsv(236, 58%, 82%)
CMYKcmyk(58.1%, 53.8%, 0%, 17.6%)
CIE-LABlab(46.01, 29.76, -59.62)
CIE-LCHlch(46.01, 66.63, 296.52°)
OKLaboklab(54.62% 0.0171 -0.1708)
OKLCHoklch(54.62% 0.172 275.7)
XYZxyz(19.9283, 15.2758, 62.8586)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5861D2 #D2C958
analogous
#589ED2 #5861D2 #8C58D2
triadic
#5861D2 #D25861 #61D258
tetradic
#5861D2 #D2589E #D2C958 #58D28C
square
#5861D2 #D2589E #D2C958 #58D28C
split-complementary
#5861D2 #D28C58 #9ED258
monochromatic
#252D8A #323CBB #5861D2 #888FDF #B8BCEC

Accessibility & contrast

On white

5.18
#5861D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5861D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5861D2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5861D2#FFFFFF#000000##FFFFFF
##5861D21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5861d2;
/* rgb */ color: rgb(88, 97, 210);
/* oklch */ color: oklch(54.6% 0.172 275.7);
Tailwind
colors: {
  custom: {
    50: '#918de0',
    500: '#5861d2',
    950: '#000000',
  },
}
SCSS
$custom: #5861d2;
$custom-light: #918de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5861d2",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 235.574,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.17169,
    "h": 275.7
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#5861D2
secondary
#DBD8AB
accent
#D547E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5861D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5861D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva