#5861EF#5861EF

#5861EF is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.8% C 0.210 H 274.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5861EF
RGBrgb(88, 97, 239)
HSLhsl(236, 83%, 64%)
HSVhsv(236, 63%, 94%)
CMYKcmyk(63.2%, 59.4%, 0%, 6.3%)
CIE-LABlab(48.08, 39.29, -72.69)
CIE-LCHlch(48.08, 82.63, 298.39°)
OKLaboklab(56.81% 0.0174 -0.2093)
OKLCHoklch(56.81% 0.21 274.8)
XYZxyz(23.8741, 16.8541, 83.6397)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5861EF #EFE658
analogous
#58ADEF #5861EF #9B58EF
triadic
#5861EF #EF5861 #61EF58
tetradic
#5861EF #EF58AD #EFE658 #58EF9B
square
#5861EF #EF58AD #EFE658 #58EF9B
split-complementary
#5861EF #EF9B58 #ADEF58
monochromatic
#121CBB #202CEA #5861EF #9096F4 #C8CBFA

Accessibility & contrast

On white

4.80
#5861EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5861EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5861EF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5861EF#FFFFFF#000000##FFFFFF
##5861EF1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5861ef;
/* rgb */ color: rgb(88, 97, 239);
/* oklch */ color: oklch(56.8% 0.210 274.8);
Tailwind
colors: {
  custom: {
    50: '#968ef5',
    500: '#5861ef',
    950: '#000000',
  },
}
SCSS
$custom: #5861ef;
$custom-light: #968ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5861ef",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 236.424,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.21001,
    "h": 274.8
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#5861EF
secondary
#ECE9B7
accent
#D207DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5861EF

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

Preview Lab → · Contrast checker → · Palette generator →

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