#5865E5#5865E5

#5865E5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.192 H 274.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5865E5
RGBrgb(88, 101, 229)
HSLhsl(234, 73%, 62%)
HSVhsv(234, 62%, 90%)
CMYKcmyk(61.6%, 55.9%, 0%, 10.2%)
CIE-LABlab(48.31, 33.56, -66.69)
CIE-LCHlch(48.31, 74.66, 296.71°)
OKLaboklab(56.76% 0.0139 -0.1916)
OKLCHoklch(56.76% 0.192 274.2)
XYZxyz(22.8164, 17.0373, 76.1997)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865E5 #E5D858
analogous
#58ACE5 #5865E5 #9258E5
triadic
#5865E5 #E55865 #65E558
tetradic
#5865E5 #E558AC #E5D858 #58E592
square
#5865E5 #E558AC #E5D858 #58E592
split-complementary
#5865E5 #E59258 #ACE558
monochromatic
#1A27A8 #2334DD #5865E5 #8D96ED #C2C7F5

Accessibility & contrast

On white

4.76
#5865E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5865E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865E5#FFFFFF#000000##FFFFFF
##5865E51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5865e5;
/* rgb */ color: rgb(88, 101, 229);
/* oklch */ color: oklch(56.8% 0.192 274.2);
Tailwind
colors: {
  custom: {
    50: '#9490ee',
    500: '#5865e5',
    950: '#000000',
  },
}
SCSS
$custom: #5865e5;
$custom-light: #9490ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5865e5",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 229
  },
  "hsl": {
    "h": 234.468,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.19212,
    "h": 274.2
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#5865E5
secondary
#E6E2B3
accent
#C310D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5865E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5865E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva