#5865BF#5865BF

#5865BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.140 H 274.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5865BF
RGBrgb(88, 101, 191)
HSLhsl(232, 45%, 55%)
HSVhsv(232, 54%, 75%)
CMYKcmyk(53.9%, 47.1%, 0%, 25.1%)
CIE-LABlab(45.83, 21.05, -48.97)
CIE-LCHlch(45.83, 53.31, 293.26°)
OKLaboklab(54.1% 0.0111 -0.1395)
OKLCHoklch(54.1% 0.14 274.6)
XYZxyz(18.0791, 15.1424, 51.2502)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865BF #BFB258
analogous
#5899BF #5865BF #7E58BF
triadic
#5865BF #BF5865 #65BF58
tetradic
#5865BF #BF5899 #BFB258 #58BF7E
square
#5865BF #BF5899 #BFB258 #58BF7E
split-complementary
#5865BF #BF7E58 #99BF58
monochromatic
#2B3471 #3C499D #5865BF #848ED0 #B0B7E1

Accessibility & contrast

On white

5.21
#5865BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5865BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865BF#FFFFFF#000000##FFFFFF
##5865BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#3068BD
Tritanopia (blue-blind)
#267989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5865bf;
/* rgb */ color: rgb(88, 101, 191);
/* oklch */ color: oklch(54.1% 0.140 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e90d3',
    500: '#5865bf',
    950: '#000000',
  },
}
SCSS
$custom: #5865bf;
$custom-light: #8e90d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5865bf",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 232.427,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.13994,
    "h": 274.6
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#5865BF
secondary
#CFCAA4
accent
#C454D4
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5865BF

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

Preview Lab → · Contrast checker → · Palette generator →

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