#5865CF#5865CF

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

Color values

HEX#5865CF
RGBrgb(88, 101, 207)
HSLhsl(233, 55%, 58%)
HSVhsv(233, 57%, 81%)
CMYKcmyk(57.5%, 51.2%, 0%, 18.8%)
CIE-LABlab(46.82, 26.29, -56.59)
CIE-LCHlch(46.82, 62.40, 294.92°)
OKLaboklab(55.17% 0.0128 -0.1619)
OKLCHoklch(55.17% 0.162 274.5)
XYZxyz(19.9370, 15.8856, 61.0350)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865CF #CFC258
analogous
#58A1CF #5865CF #8658CF
triadic
#5865CF #CF5865 #65CF58
tetradic
#5865CF #CF58A1 #CFC258 #58CF86
square
#5865CF #CF58A1 #CFC258 #58CF86
split-complementary
#5865CF #CF8658 #A1CF58
monochromatic
#273186 #3442B6 #5865CF #8891DD #B7BDEA

Accessibility & contrast

On white

5.03
#5865CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5865CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865CF#FFFFFF#000000##FFFFFF
##5865CF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#116ACD
Tritanopia (blue-blind)
#037D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5865cf;
/* rgb */ color: rgb(88, 101, 207);
/* oklch */ color: oklch(55.2% 0.162 274.5);
Tailwind
colors: {
  custom: {
    50: '#9190de',
    500: '#5865cf',
    950: '#000000',
  },
}
SCSS
$custom: #5865cf;
$custom-light: #9190de;
$custom-dark: #000000;
JSON
{
  "hex": "#5865cf",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 233.445,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.1624,
    "h": 274.5
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#5865CF
secondary
#D9D4AA
accent
#CE49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5865CF

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

Preview Lab → · Contrast checker → · Palette generator →

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