#5861E2#5861E2

#5861E2 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.8% C 0.193 H 275.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5861E2
RGBrgb(88, 97, 226)
HSLhsl(236, 70%, 62%)
HSVhsv(236, 61%, 89%)
CMYKcmyk(61.1%, 57.1%, 0%, 11.4%)
CIE-LABlab(47.12, 35.02, -66.92)
CIE-LCHlch(47.12, 75.53, 297.62°)
OKLaboklab(55.81% 0.0175 -0.1923)
OKLCHoklch(55.81% 0.193 275.2)
XYZxyz(22.0222, 16.1133, 73.8864)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5861E2 #E2D958
analogous
#58A6E2 #5861E2 #9458E2
triadic
#5861E2 #E25861 #61E258
tetradic
#5861E2 #E258A6 #E2D958 #58E294
square
#5861E2 #E258A6 #E2D958 #58E294
split-complementary
#5861E2 #E29458 #A6E258
monochromatic
#1C25A3 #2531D7 #5861E2 #8C92EB #C0C4F4

Accessibility & contrast

On white

4.97
#5861E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5861E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5861E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5861E2#FFFFFF#000000##FFFFFF
##5861E21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5861e2;
/* rgb */ color: rgb(88, 97, 226);
/* oklch */ color: oklch(55.8% 0.193 275.2);
Tailwind
colors: {
  custom: {
    50: '#948eec',
    500: '#5861e2',
    950: '#000000',
  },
}
SCSS
$custom: #5861e2;
$custom-light: #948eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5861e2",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 236.087,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.19312,
    "h": 275.2
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#5861E2
secondary
#E5E1B1
accent
#C613D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5861E2

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

Preview Lab → · Contrast checker → · Palette generator →

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