#5865CD#5865CD

#5865CD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.0% C 0.160 H 274.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5865CD
RGBrgb(88, 101, 205)
HSLhsl(233, 54%, 57%)
HSVhsv(233, 57%, 80%)
CMYKcmyk(57.1%, 50.7%, 0%, 19.6%)
CIE-LABlab(46.70, 25.63, -55.65)
CIE-LCHlch(46.70, 61.27, 294.73°)
OKLaboklab(55.03% 0.0127 -0.1591)
OKLCHoklch(55.03% 0.16 274.5)
XYZxyz(19.6941, 15.7884, 59.7554)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865CD #CDC058
analogous
#58A0CD #5865CD #8558CD
triadic
#5865CD #CD5865 #65CD58
tetradic
#5865CD #CD58A0 #CDC058 #58CD85
square
#5865CD #CD58A0 #CDC058 #58CD85
split-complementary
#5865CD #CD8558 #A0CD58
monochromatic
#273283 #3543B2 #5865CD #8790DB #B6BCE9

Accessibility & contrast

On white

5.05
#5865CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5865CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865CD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865CD#FFFFFF#000000##FFFFFF
##5865CD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#0B7D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5865cd;
/* rgb */ color: rgb(88, 101, 205);
/* oklch */ color: oklch(55.0% 0.160 274.5);
Tailwind
colors: {
  custom: {
    50: '#9190dd',
    500: '#5865cd',
    950: '#000000',
  },
}
SCSS
$custom: #5865cd;
$custom-light: #9190dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5865cd",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 233.333,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.15963,
    "h": 274.5
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#5865CD
secondary
#D8D3A9
accent
#CD4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5865CD

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

Preview Lab → · Contrast checker → · Palette generator →

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