#5662EE#5662EE

#5662EE is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.8% C 0.208 H 274.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5662EE
RGBrgb(86, 98, 238)
HSLhsl(235, 82%, 64%)
HSVhsv(235, 64%, 93%)
CMYKcmyk(63.9%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.11, 38.05, -72.07)
CIE-LCHlch(48.11, 81.50, 297.83°)
OKLaboklab(56.79% 0.0144 -0.2075)
OKLCHoklch(56.79% 0.208 274)
XYZxyz(23.6329, 16.8848, 82.8860)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662EE #EEE256
analogous
#56AEEE #5662EE #9656EE
triadic
#5662EE #EE5662 #62EE56
tetradic
#5662EE #EE56AE #EEE256 #56EE96
square
#5662EE #EE56AE #EEE256 #56EE96
split-complementary
#5662EE #EE9656 #AEEE56
monochromatic
#121FB7 #1E2EE8 #5662EE #8E96F4 #C5C9F9

Accessibility & contrast

On white

4.80
#5662EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5662EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662EE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662EE#FFFFFF#000000##FFFFFF
##5662EE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5662ee;
/* rgb */ color: rgb(86, 98, 238);
/* oklch */ color: oklch(56.8% 0.208 274.0);
Tailwind
colors: {
  custom: {
    50: '#958ef4',
    500: '#5662ee',
    950: '#000000',
  },
}
SCSS
$custom: #5662ee;
$custom-light: #958ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5662ee",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 235.263,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.20801,
    "h": 274
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#5662EE
secondary
#EBE7B5
accent
#CD07DE
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5662EE

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

Preview Lab → · Contrast checker → · Palette generator →

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