#5865D7#5865D7

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

Color values

HEX#5865D7
RGBrgb(88, 101, 215)
HSLhsl(234, 61%, 59%)
HSVhsv(234, 59%, 84%)
CMYKcmyk(59.1%, 53%, 0%, 15.7%)
CIE-LABlab(47.35, 28.93, -60.31)
CIE-LCHlch(47.35, 66.89, 295.63°)
OKLaboklab(55.73% 0.0134 -0.1728)
OKLCHoklch(55.73% 0.173 274.4)
XYZxyz(20.9399, 16.2868, 66.3170)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865D7 #D7CA58
analogous
#58A5D7 #5865D7 #8B58D7
triadic
#5865D7 #D75865 #65D758
tetradic
#5865D7 #D758A5 #D7CA58 #58D78B
square
#5865D7 #D758A5 #D7CA58 #58D78B
split-complementary
#5865D7 #D78B58 #A5D758
monochromatic
#232E92 #2F3EC3 #5865D7 #8993E3 #BBC0EF

Accessibility & contrast

On white

4.93
#5865D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5865D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865D7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865D7#FFFFFF#000000##FFFFFF
##5865D71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DB
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5865d7;
/* rgb */ color: rgb(88, 101, 215);
/* oklch */ color: oklch(55.7% 0.173 274.4);
Tailwind
colors: {
  custom: {
    50: '#9290e4',
    500: '#5865d7',
    950: '#000000',
  },
}
SCSS
$custom: #5865d7;
$custom-light: #9290e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5865d7",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 215
  },
  "hsl": {
    "h": 233.858,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.17336,
    "h": 274.4
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#5865D7
secondary
#DED9AD
accent
#D443E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5865D7

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

Preview Lab → · Contrast checker → · Palette generator →

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