#5865BD#5865BD

#5865BD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.137 H 274.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5865BD
RGBrgb(88, 101, 189)
HSLhsl(232, 43%, 54%)
HSVhsv(232, 53%, 74%)
CMYKcmyk(53.4%, 46.6%, 0%, 25.9%)
CIE-LABlab(45.71, 20.40, -48.01)
CIE-LCHlch(45.71, 52.16, 293.02°)
OKLaboklab(53.97% 0.0109 -0.1367)
OKLCHoklch(53.97% 0.137 274.5)
XYZxyz(17.8605, 15.0550, 50.0990)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865BD #BDB058
analogous
#5898BD #5865BD #7E58BD
triadic
#5865BD #BD5865 #65BD58
tetradic
#5865BD #BD5898 #BDB058 #58BD7E
square
#5865BD #BD5898 #BDB058 #58BD7E
split-complementary
#5865BD #BD7E58 #98BD58
monochromatic
#2C346F #3D499B #5865BD #848DCE #B0B6E0

Accessibility & contrast

On white

5.24
#5865BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5865BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865BD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865BD#FFFFFF#000000##FFFFFF
##5865BD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C0
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#287888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5865bd;
/* rgb */ color: rgb(88, 101, 189);
/* oklch */ color: oklch(54.0% 0.137 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e90d1',
    500: '#5865bd',
    950: '#000000',
  },
}
SCSS
$custom: #5865bd;
$custom-light: #8e90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5865bd",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 189
  },
  "hsl": {
    "h": 232.277,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.13709,
    "h": 274.5
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#5865BD
secondary
#CEC8A3
accent
#C355D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5865BD

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

Preview Lab → · Contrast checker → · Palette generator →

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