#5662BC#5662BC

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

Color values

HEX#5662BC
RGBrgb(86, 98, 188)
HSLhsl(233, 43%, 54%)
HSVhsv(233, 54%, 74%)
CMYKcmyk(54.3%, 47.9%, 0%, 26.3%)
CIE-LABlab(44.72, 21.52, -49.01)
CIE-LCHlch(44.72, 53.53, 293.70°)
OKLaboklab(53.17% 0.0119 -0.1397)
OKLCHoklch(53.17% 0.14 274.9)
XYZxyz(17.2796, 14.3435, 49.4252)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662BC #BCB056
analogous
#5695BC #5662BC #7D56BC
triadic
#5662BC #BC5662 #62BC56
tetradic
#5662BC #BC5695 #BCB056 #56BC7D
square
#5662BC #BC5695 #BCB056 #56BC7D
split-complementary
#5662BC #BC7D56 #95BC56
monochromatic
#2B336D #3C4798 #5662BC #828BCD #AEB3DF

Accessibility & contrast

On white

5.43
#5662BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5662BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662BC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662BC#FFFFFF#000000##FFFFFF
##5662BC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#247686
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5662bc;
/* rgb */ color: rgb(86, 98, 188);
/* oklch */ color: oklch(53.2% 0.140 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ed1',
    500: '#5662bc',
    950: '#000000',
  },
}
SCSS
$custom: #5662bc;
$custom-light: #8d8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5662bc",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 232.941,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.14021,
    "h": 274.9
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5662BC

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

Preview Lab → · Contrast checker → · Palette generator →

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