#5865D9#5865D9

#5865D9 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.176 H 274.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5865D9
RGBrgb(88, 101, 217)
HSLhsl(234, 63%, 60%)
HSVhsv(234, 59%, 85%)
CMYKcmyk(59.4%, 53.5%, 0%, 14.9%)
CIE-LABlab(47.48, 29.59, -61.23)
CIE-LCHlch(47.48, 68.01, 295.79°)
OKLaboklab(55.88% 0.0135 -0.1756)
OKLCHoklch(55.88% 0.176 274.4)
XYZxyz(21.1985, 16.3902, 67.6787)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865D9 #D9CC58
analogous
#58A6D9 #5865D9 #8B58D9
triadic
#5865D9 #D95865 #65D958
tetradic
#5865D9 #D958A6 #D9CC58 #58D98B
square
#5865D9 #D958A6 #D9CC58 #58D98B
split-complementary
#5865D9 #D98B58 #A6D958
monochromatic
#222D95 #2D3DC7 #5865D9 #8A93E4 #BCC1F0

Accessibility & contrast

On white

4.91
#5865D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5865D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865D9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865D9#FFFFFF#000000##FFFFFF
##5865D91.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1976DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5865d9;
/* rgb */ color: rgb(88, 101, 217);
/* oklch */ color: oklch(55.9% 0.176 274.4);
Tailwind
colors: {
  custom: {
    50: '#9290e5',
    500: '#5865d9',
    950: '#000000',
  },
}
SCSS
$custom: #5865d9;
$custom-light: #9290e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5865d9",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 217
  },
  "hsl": {
    "h": 233.953,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.17607,
    "h": 274.4
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5865D9

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

Preview Lab → · Contrast checker → · Palette generator →

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