#5865B2#5865B2

#5865B2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.3% C 0.121 H 274.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5865B2
RGBrgb(88, 101, 178)
HSLhsl(231, 37%, 52%)
HSVhsv(231, 51%, 70%)
CMYKcmyk(50.6%, 43.3%, 0%, 30.2%)
CIE-LABlab(45.08, 16.86, -42.61)
CIE-LCHlch(45.08, 45.83, 291.58°)
OKLaboklab(53.28% 0.0092 -0.1208)
OKLCHoklch(53.28% 0.121 274.3)
XYZxyz(16.7115, 14.5954, 44.0474)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865B2 #B2A558
analogous
#5892B2 #5865B2 #7858B2
triadic
#5865B2 #B25865 #65B258
tetradic
#5865B2 #B25892 #B2A558 #58B278
square
#5865B2 #B25892 #B2A558 #58B278
split-complementary
#5865B2 #B27858 #92B258
monochromatic
#2D3562 #414C8C #5865B2 #828CC5 #ACB2D9

Accessibility & contrast

On white

5.36
#5865B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5865B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865B2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865B2#FFFFFF#000000##FFFFFF
##5865B21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#337583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5865b2;
/* rgb */ color: rgb(88, 101, 178);
/* oklch */ color: oklch(53.3% 0.121 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d90c9',
    500: '#5865b2',
    950: '#000000',
  },
}
SCSS
$custom: #5865b2;
$custom-light: #8d90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5865b2",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 231.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.1212,
    "h": 274.3
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#5865B2
secondary
#C7C19F
accent
#BC5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #5865B2

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

Preview Lab → · Contrast checker → · Palette generator →

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