#5662CE#5662CE

#5662CE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.165 H 274.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5662CE
RGBrgb(86, 98, 206)
HSLhsl(234, 55%, 57%)
HSVhsv(234, 58%, 81%)
CMYKcmyk(58.3%, 52.4%, 0%, 19.2%)
CIE-LABlab(45.86, 27.44, -57.57)
CIE-LCHlch(45.86, 63.78, 295.49°)
OKLaboklab(54.4% 0.0136 -0.1648)
OKLCHoklch(54.4% 0.165 274.7)
XYZxyz(19.3424, 15.1686, 60.2891)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662CE #CEC256
analogous
#569ECE #5662CE #8656CE
triadic
#5662CE #CE5662 #62CE56
tetradic
#5662CE #CE569E #CEC256 #56CE86
square
#5662CE #CE569E #CEC256 #56CE86
split-complementary
#5662CE #CE8656 #9ECE56
monochromatic
#262F83 #3441B3 #5662CE #858EDC #B5BAEA

Accessibility & contrast

On white

5.21
#5662CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5662CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662CE#FFFFFF#000000##FFFFFF
##5662CE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5662ce;
/* rgb */ color: rgb(86, 98, 206);
/* oklch */ color: oklch(54.4% 0.165 274.7);
Tailwind
colors: {
  custom: {
    50: '#908ede',
    500: '#5662ce',
    950: '#000000',
  },
}
SCSS
$custom: #5662ce;
$custom-light: #908ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5662ce",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 234,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.16541,
    "h": 274.7
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#5662CE
secondary
#D8D3A8
accent
#CF49DE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5662CE

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

Preview Lab → · Contrast checker → · Palette generator →

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