#5662DC#5662DC

#5662DC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.184 H 274.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5662DC
RGBrgb(86, 98, 220)
HSLhsl(235, 66%, 60%)
HSVhsv(235, 61%, 86%)
CMYKcmyk(60.9%, 55.5%, 0%, 13.7%)
CIE-LABlab(46.82, 32.09, -64.02)
CIE-LCHlch(46.82, 71.61, 296.62°)
OKLaboklab(55.41% 0.0143 -0.1838)
OKLCHoklch(55.41% 0.184 274.4)
XYZxyz(21.1195, 15.8794, 69.6484)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662DC #DCD056
analogous
#56A5DC #5662DC #8D56DC
triadic
#5662DC #DC5662 #62DC56
tetradic
#5662DC #DC56A5 #DCD056 #56DC8D
square
#5662DC #DC56A5 #DCD056 #56DC8D
split-complementary
#5662DC #DC8D56 #A5DC56
monochromatic
#202A98 #2A38CB #5662DC #8991E6 #BBC0F1

Accessibility & contrast

On white

5.03
#5662DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5662DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662DC#FFFFFF#000000##FFFFFF
##5662DC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5662dc;
/* rgb */ color: rgb(86, 98, 220);
/* oklch */ color: oklch(55.4% 0.184 274.4);
Tailwind
colors: {
  custom: {
    50: '#928ee8',
    500: '#5662dc',
    950: '#000000',
  },
}
SCSS
$custom: #5662dc;
$custom-light: #928ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5662dc",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 234.627,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.1844,
    "h": 274.4
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#5662DC
secondary
#E1DCAD
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5662DC

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

Preview Lab → · Contrast checker → · Palette generator →

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