#5861E9#5861E9

#5861E9 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.3% C 0.202 H 275.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5861E9
RGBrgb(88, 97, 233)
HSLhsl(236, 77%, 63%)
HSVhsv(236, 62%, 91%)
CMYKcmyk(62.2%, 58.4%, 0%, 8.6%)
CIE-LABlab(47.63, 37.32, -70.04)
CIE-LCHlch(47.63, 79.37, 298.05°)
OKLaboklab(56.34% 0.0175 -0.2015)
OKLCHoklch(56.34% 0.202 275)
XYZxyz(23.0023, 16.5054, 79.0487)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5861E9 #E9E058
analogous
#58A9E9 #5861E9 #9758E9
triadic
#5861E9 #E95861 #61E958
tetradic
#5861E9 #E958A9 #E9E058 #58E997
square
#5861E9 #E958A9 #E9E058 #58E997
split-complementary
#5861E9 #E99758 #A9E958
monochromatic
#1721AF #222EE2 #5861E9 #8E94F0 #C4C7F7

Accessibility & contrast

On white

4.88
#5861E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5861E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5861E9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5861E9#FFFFFF#000000##FFFFFF
##5861E91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5861e9;
/* rgb */ color: rgb(88, 97, 233);
/* oklch */ color: oklch(56.3% 0.202 275.0);
Tailwind
colors: {
  custom: {
    50: '#958ef1',
    500: '#5861e9',
    950: '#000000',
  },
}
SCSS
$custom: #5861e9;
$custom-light: #958ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5861e9",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 236.276,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.20227,
    "h": 275
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#5861E9
secondary
#E8E5B4
accent
#CC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5861E9

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

Preview Lab → · Contrast checker → · Palette generator →

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