#5662BB#5662BB

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

Color values

HEX#5662BB
RGBrgb(86, 98, 187)
HSLhsl(233, 43%, 54%)
HSVhsv(233, 54%, 73%)
CMYKcmyk(54%, 47.6%, 0%, 26.7%)
CIE-LABlab(44.66, 21.19, -48.53)
CIE-LCHlch(44.66, 52.96, 293.59°)
OKLaboklab(53.1% 0.0118 -0.1383)
OKLCHoklch(53.1% 0.139 274.9)
XYZxyz(17.1722, 14.3005, 48.8595)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662BB #BBAF56
analogous
#5694BB #5662BB #7C56BB
triadic
#5662BB #BB5662 #62BB56
tetradic
#5662BB #BB5694 #BBAF56 #56BB7C
square
#5662BB #BB5694 #BBAF56 #56BB7C
split-complementary
#5662BB #BB7C56 #94BB56
monochromatic
#2B336B #3D4797 #5662BB #828BCD #ADB3DE

Accessibility & contrast

On white

5.44
#5662BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5662BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662BB#FFFFFF#000000##FFFFFF
##5662BB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#257685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5662bb;
/* rgb */ color: rgb(86, 98, 187);
/* oklch */ color: oklch(53.1% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ed0',
    500: '#5662bb',
    950: '#000000',
  },
}
SCSS
$custom: #5662bb;
$custom-light: #8d8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5662bb",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 232.871,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.531,
    "c": 0.13877,
    "h": 274.9
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#5662BB
secondary
#CCC7A1
accent
#C455D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5662BB

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

Preview Lab → · Contrast checker → · Palette generator →

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