#5861E4#5861E4

#5861E4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.196 H 275.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5861E4
RGBrgb(88, 97, 228)
HSLhsl(236, 72%, 62%)
HSVhsv(236, 61%, 89%)
CMYKcmyk(61.4%, 57.5%, 0%, 10.6%)
CIE-LABlab(47.27, 35.67, -67.82)
CIE-LCHlch(47.27, 76.63, 297.75°)
OKLaboklab(55.96% 0.0175 -0.195)
OKLCHoklch(55.96% 0.196 275.1)
XYZxyz(22.2982, 16.2237, 75.3402)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5861E4 #E4DB58
analogous
#58A7E4 #5861E4 #9558E4
triadic
#5861E4 #E45861 #61E458
tetradic
#5861E4 #E458A7 #E4DB58 #58E495
square
#5861E4 #E458A7 #E4DB58 #58E495
split-complementary
#5861E4 #E49558 #A7E458
monochromatic
#1B24A7 #232FDB #5861E4 #8D93ED #C1C5F5

Accessibility & contrast

On white

4.95
#5861E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5861E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5861E4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5861E4#FFFFFF#000000##FFFFFF
##5861E41.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5861e4;
/* rgb */ color: rgb(88, 97, 228);
/* oklch */ color: oklch(56.0% 0.196 275.1);
Tailwind
colors: {
  custom: {
    50: '#948eed',
    500: '#5861e4',
    950: '#000000',
  },
}
SCSS
$custom: #5861e4;
$custom-light: #948eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5861e4",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 236.143,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.19575,
    "h": 275.1
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#5861E4
secondary
#E6E2B2
accent
#C811D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5861E4

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

Preview Lab → · Contrast checker → · Palette generator →

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