#5865D8#5865D8

#5865D8 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.8% C 0.175 H 274.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5865D8
RGBrgb(88, 101, 216)
HSLhsl(234, 62%, 60%)
HSVhsv(234, 59%, 85%)
CMYKcmyk(59.3%, 53.2%, 0%, 15.3%)
CIE-LABlab(47.42, 29.26, -60.77)
CIE-LCHlch(47.42, 67.45, 295.71°)
OKLaboklab(55.81% 0.0134 -0.1742)
OKLCHoklch(55.81% 0.175 274.4)
XYZxyz(21.0688, 16.3383, 66.9958)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865D8 #D8CB58
analogous
#58A5D8 #5865D8 #8B58D8
triadic
#5865D8 #D85865 #65D858
tetradic
#5865D8 #D858A5 #D8CB58 #58D88B
square
#5865D8 #D858A5 #D8CB58 #58D88B
split-complementary
#5865D8 #D88B58 #A5D858
monochromatic
#222E93 #2E3DC5 #5865D8 #8A93E4 #BBC1EF

Accessibility & contrast

On white

4.92
#5865D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5865D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865D8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865D8#FFFFFF#000000##FFFFFF
##5865D81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B76DC
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5865d8;
/* rgb */ color: rgb(88, 101, 216);
/* oklch */ color: oklch(55.8% 0.175 274.4);
Tailwind
colors: {
  custom: {
    50: '#9290e5',
    500: '#5865d8',
    950: '#000000',
  },
}
SCSS
$custom: #5865d8;
$custom-light: #9290e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5865d8",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 233.906,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.17472,
    "h": 274.4
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#5865D8
secondary
#DFDAAD
accent
#D543E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5865D8

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

Preview Lab → · Contrast checker → · Palette generator →

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