#5662E8#5662E8

#5662E8 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.3% C 0.200 H 274.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5662E8
RGBrgb(86, 98, 232)
HSLhsl(235, 76%, 62%)
HSVhsv(235, 63%, 91%)
CMYKcmyk(62.9%, 57.8%, 0%, 9%)
CIE-LABlab(47.67, 36.07, -69.42)
CIE-LCHlch(47.67, 78.23, 297.45°)
OKLaboklab(56.32% 0.0145 -0.1997)
OKLCHoklch(56.32% 0.2 274.1)
XYZxyz(22.7661, 16.5381, 78.3207)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662E8 #E8DC56
analogous
#56ABE8 #5662E8 #9356E8
triadic
#5662E8 #E85662 #62E856
tetradic
#5662E8 #E856AB #E8DC56 #56E893
square
#5662E8 #E856AB #E8DC56 #56E893
split-complementary
#5662E8 #E89356 #ABE856
monochromatic
#1724AC #2030E1 #5662E8 #8C94EF #C2C6F7

Accessibility & contrast

On white

4.87
#5662E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5662E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662E8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662E8#FFFFFF#000000##FFFFFF
##5662E81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5662e8;
/* rgb */ color: rgb(86, 98, 232);
/* oklch */ color: oklch(56.3% 0.200 274.1);
Tailwind
colors: {
  custom: {
    50: '#948ef0',
    500: '#5662e8',
    950: '#000000',
  },
}
SCSS
$custom: #5662e8;
$custom-light: #948ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5662e8",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 235.068,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.20023,
    "h": 274.1
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#5662E8
secondary
#E8E3B2
accent
#C80DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5662E8

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

Preview Lab → · Contrast checker → · Palette generator →

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