#5662ED#5662ED

#5662ED is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.7% C 0.207 H 274.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5662ED
RGBrgb(86, 98, 237)
HSLhsl(235, 81%, 63%)
HSVhsv(235, 64%, 93%)
CMYKcmyk(63.7%, 58.6%, 0%, 7.1%)
CIE-LABlab(48.04, 37.72, -71.63)
CIE-LCHlch(48.04, 80.96, 297.77°)
OKLaboklab(56.71% 0.0144 -0.2062)
OKLCHoklch(56.71% 0.207 274)
XYZxyz(23.4864, 16.8262, 82.1144)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662ED #EDE156
analogous
#56ADED #5662ED #9556ED
triadic
#5662ED #ED5662 #62ED56
tetradic
#5662ED #ED56AD #EDE156 #56ED95
square
#5662ED #ED56AD #EDE156 #56ED95
split-complementary
#5662ED #ED9556 #ADED56
monochromatic
#1320B5 #1F2FE7 #5662ED #8D95F3 #C5C9F9

Accessibility & contrast

On white

4.81
#5662ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5662ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662ED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662ED#FFFFFF#000000##FFFFFF
##5662ED1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5662ed;
/* rgb */ color: rgb(86, 98, 237);
/* oklch */ color: oklch(56.7% 0.207 274.0);
Tailwind
colors: {
  custom: {
    50: '#958ef4',
    500: '#5662ed',
    950: '#000000',
  },
}
SCSS
$custom: #5662ed;
$custom-light: #958ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5662ed",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 235.232,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.20672,
    "h": 274
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#5662ED
secondary
#EAE6B4
accent
#CC08DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5662ED

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

Preview Lab → · Contrast checker → · Palette generator →

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