#5865D5#5865D5

#5865D5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.171 H 274.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5865D5
RGBrgb(88, 101, 213)
HSLhsl(234, 60%, 59%)
HSVhsv(234, 59%, 84%)
CMYKcmyk(58.7%, 52.6%, 0%, 16.5%)
CIE-LABlab(47.22, 28.27, -59.39)
CIE-LCHlch(47.22, 65.77, 295.46°)
OKLaboklab(55.59% 0.0133 -0.1701)
OKLCHoklch(55.59% 0.171 274.5)
XYZxyz(20.6845, 16.1846, 64.9718)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865D5 #D5C858
analogous
#58A4D5 #5865D5 #8A58D5
triadic
#5865D5 #D55865 #65D558
tetradic
#5865D5 #D558A4 #D5C858 #58D58A
square
#5865D5 #D558A4 #D5C858 #58D58A
split-complementary
#5865D5 #D58A58 #A4D558
monochromatic
#242F8F #303FC0 #5865D5 #8992E1 #BABFEE

Accessibility & contrast

On white

4.96
#5865D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5865D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865D5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865D5#FFFFFF#000000##FFFFFF
##5865D51.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2175D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5865d5;
/* rgb */ color: rgb(88, 101, 213);
/* oklch */ color: oklch(55.6% 0.171 274.5);
Tailwind
colors: {
  custom: {
    50: '#9290e3',
    500: '#5865d5',
    950: '#000000',
  },
}
SCSS
$custom: #5865d5;
$custom-light: #9290e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5865d5",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 213
  },
  "hsl": {
    "h": 233.76,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.17064,
    "h": 274.5
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#5865D5
secondary
#DDD8AC
accent
#D345E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5865D5

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

Preview Lab → · Contrast checker → · Palette generator →

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