#5865CB#5865CB

#5865CB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.157 H 274.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5865CB
RGBrgb(88, 101, 203)
HSLhsl(233, 53%, 57%)
HSVhsv(233, 57%, 80%)
CMYKcmyk(56.7%, 50.2%, 0%, 20.4%)
CIE-LABlab(46.57, 24.97, -54.71)
CIE-LCHlch(46.57, 60.14, 294.54°)
OKLaboklab(54.9% 0.0125 -0.1563)
OKLCHoklch(54.9% 0.157 274.6)
XYZxyz(19.4542, 15.6925, 58.4921)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865CB #CBBE58
analogous
#589FCB #5865CB #8458CB
triadic
#5865CB #CB5865 #65CB58
tetradic
#5865CB #CB589F #CBBE58 #58CB84
square
#5865CB #CB589F #CBBE58 #58CB84
split-complementary
#5865CB #CB8458 #9FCB58
monochromatic
#283281 #3744AF #5865CB #8790DA #B5BBE8

Accessibility & contrast

On white

5.07
#5865CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5865CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865CB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865CB#FFFFFF#000000##FFFFFF
##5865CB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#117C8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5865cb;
/* rgb */ color: rgb(88, 101, 203);
/* oklch */ color: oklch(54.9% 0.157 274.6);
Tailwind
colors: {
  custom: {
    50: '#9090db',
    500: '#5865cb',
    950: '#000000',
  },
}
SCSS
$custom: #5865cb;
$custom-light: #9090db;
$custom-dark: #000000;
JSON
{
  "hex": "#5865cb",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 233.217,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.15685,
    "h": 274.6
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#5865CB
secondary
#D7D1A8
accent
#CC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5865CB

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

Preview Lab → · Contrast checker → · Palette generator →

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