#5866BC#5866BC

#5866BC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.134 H 274.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5866BC
RGBrgb(88, 102, 188)
HSLhsl(232, 43%, 54%)
HSVhsv(232, 53%, 74%)
CMYKcmyk(53.2%, 45.7%, 0%, 26.3%)
CIE-LABlab(45.92, 19.45, -47.10)
CIE-LCHlch(45.92, 50.95, 292.44°)
OKLaboklab(54.11% 0.0096 -0.134)
OKLCHoklch(54.11% 0.134 274.1)
XYZxyz(17.8501, 15.2071, 49.5619)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866BC #BCAE58
analogous
#5898BC #5866BC #7C58BC
triadic
#5866BC #BC5866 #66BC58
tetradic
#5866BC #BC5898 #BCAE58 #58BC7C
square
#5866BC #BC5898 #BCAE58 #58BC7C
split-complementary
#5866BC #BC7C58 #98BC58
monochromatic
#2C356E #3E4A99 #5866BC #848ECE #AFB6DF

Accessibility & contrast

On white

5.20
#5866BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5866BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866BC#FFFFFF#000000##FFFFFF
##5866BC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#297988
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5866bc;
/* rgb */ color: rgb(88, 102, 188);
/* oklch */ color: oklch(54.1% 0.134 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e91d1',
    500: '#5866bc',
    950: '#000000',
  },
}
SCSS
$custom: #5866bc;
$custom-light: #8e91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5866bc",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 231.6,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.13432,
    "h": 274.1
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#5866BC
secondary
#CDC7A3
accent
#C155D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5866BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5866BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva