#5865E6#5865E6

#5865E6 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.193 H 274.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5865E6
RGBrgb(88, 101, 230)
HSLhsl(235, 74%, 62%)
HSVhsv(235, 62%, 90%)
CMYKcmyk(61.7%, 56.1%, 0%, 9.8%)
CIE-LABlab(48.38, 33.89, -67.14)
CIE-LCHlch(48.38, 75.21, 296.78°)
OKLaboklab(56.83% 0.014 -0.1929)
OKLCHoklch(56.83% 0.193 274.1)
XYZxyz(22.9564, 17.0934, 76.9372)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865E6 #E6D958
analogous
#58ACE6 #5865E6 #9258E6
triadic
#5865E6 #E65865 #65E658
tetradic
#5865E6 #E658AC #E6D958 #58E692
square
#5865E6 #E658AC #E6D958 #58E692
split-complementary
#5865E6 #E69258 #ACE658
monochromatic
#1927AA #2334DE #5865E6 #8D96EE #C2C7F6

Accessibility & contrast

On white

4.75
#5865E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5865E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865E6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865E6#FFFFFF#000000##FFFFFF
##5865E61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5865e6;
/* rgb */ color: rgb(88, 101, 230);
/* oklch */ color: oklch(56.8% 0.193 274.1);
Tailwind
colors: {
  custom: {
    50: '#9590ef',
    500: '#5865e6',
    950: '#000000',
  },
}
SCSS
$custom: #5865e6;
$custom-light: #9590ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5865e6",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 234.507,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.19345,
    "h": 274.1
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#5865E6
secondary
#E7E2B3
accent
#C40FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5865E6

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

Preview Lab → · Contrast checker → · Palette generator →

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