#5662DD#5662DD

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

Color values

HEX#5662DD
RGBrgb(86, 98, 221)
HSLhsl(235, 67%, 60%)
HSVhsv(235, 61%, 87%)
CMYKcmyk(61.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(46.89, 32.42, -64.48)
CIE-LCHlch(46.89, 72.17, 296.69°)
OKLaboklab(55.48% 0.0143 -0.1852)
OKLCHoklch(55.48% 0.186 274.4)
XYZxyz(21.2523, 15.9325, 70.3479)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662DD #DDD156
analogous
#56A5DD #5662DD #8E56DD
triadic
#5662DD #DD5662 #62DD56
tetradic
#5662DD #DD56A5 #DDD156 #56DD8E
square
#5662DD #DD56A5 #DDD156 #56DD8E
split-complementary
#5662DD #DD8E56 #A5DD56
monochromatic
#1F2A9A #2938CD #5662DD #8991E7 #BCC1F2

Accessibility & contrast

On white

5.02
#5662DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5662DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662DD#FFFFFF#000000##FFFFFF
##5662DD1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5662dd;
/* rgb */ color: rgb(86, 98, 221);
/* oklch */ color: oklch(55.5% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#928ee8',
    500: '#5662dd',
    950: '#000000',
  },
}
SCSS
$custom: #5662dd;
$custom-light: #928ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5662dd",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 234.667,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.18572,
    "h": 274.4
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#5662DD
secondary
#E1DDAE
accent
#BE17CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5662DD

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

Preview Lab → · Contrast checker → · Palette generator →

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