#5662BD#5662BD

#5662BD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.142 H 274.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5662BD
RGBrgb(86, 98, 189)
HSLhsl(233, 44%, 54%)
HSVhsv(233, 54%, 74%)
CMYKcmyk(54.5%, 48.1%, 0%, 25.9%)
CIE-LABlab(44.78, 21.85, -49.50)
CIE-LCHlch(44.78, 54.10, 293.81°)
OKLaboklab(53.23% 0.0121 -0.1411)
OKLCHoklch(53.23% 0.142 274.9)
XYZxyz(17.3878, 14.3867, 49.9949)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662BD #BDB156
analogous
#5696BD #5662BD #7E56BD
triadic
#5662BD #BD5662 #62BD56
tetradic
#5662BD #BD5696 #BDB156 #56BD7E
square
#5662BD #BD5696 #BDB156 #56BD7E
split-complementary
#5662BD #BD7E56 #96BD56
monochromatic
#2B336E #3C479A #5662BD #828BCE #AEB4DF

Accessibility & contrast

On white

5.42
#5662BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5662BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662BD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662BD#FFFFFF#000000##FFFFFF
##5662BD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EC0
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#237686
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5662bd;
/* rgb */ color: rgb(86, 98, 189);
/* oklch */ color: oklch(53.2% 0.142 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ed1',
    500: '#5662bd',
    950: '#000000',
  },
}
SCSS
$custom: #5662bd;
$custom-light: #8d8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5662bd",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 233.01,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.14163,
    "h": 274.9
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#5662BD
secondary
#CDC8A1
accent
#C554D4
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5662BD

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

Preview Lab → · Contrast checker → · Palette generator →

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