#5662E4#5662E4

#5662E4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.195 H 274.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5662E4
RGBrgb(86, 98, 228)
HSLhsl(235, 72%, 62%)
HSVhsv(235, 62%, 89%)
CMYKcmyk(62.3%, 57%, 0%, 10.6%)
CIE-LABlab(47.38, 34.74, -67.63)
CIE-LCHlch(47.38, 76.03, 297.19°)
OKLaboklab(56.01% 0.0145 -0.1945)
OKLCHoklch(56.01% 0.195 274.2)
XYZxyz(22.2044, 16.3134, 75.3624)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662E4 #E4D856
analogous
#56A9E4 #5662E4 #9156E4
triadic
#5662E4 #E45662 #62E456
tetradic
#5662E4 #E456A9 #E4D856 #56E491
square
#5662E4 #E456A9 #E4D856 #56E491
split-complementary
#5662E4 #E49156 #A9E456
monochromatic
#1A26A5 #2332DA #5662E4 #8B93EC #C0C4F5

Accessibility & contrast

On white

4.93
#5662E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5662E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662E4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662E4#FFFFFF#000000##FFFFFF
##5662E41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5662e4;
/* rgb */ color: rgb(86, 98, 228);
/* oklch */ color: oklch(56.0% 0.195 274.2);
Tailwind
colors: {
  custom: {
    50: '#938eed',
    500: '#5662e4',
    950: '#000000',
  },
}
SCSS
$custom: #5662e4;
$custom-light: #938eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5662e4",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 234.93,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.195,
    "h": 274.2
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#5662E4
secondary
#E5E1B0
accent
#C411D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5662E4

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

Preview Lab → · Contrast checker → · Palette generator →

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