#5662E5#5662E5

#5662E5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.196 H 274.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5662E5
RGBrgb(86, 98, 229)
HSLhsl(235, 73%, 62%)
HSVhsv(235, 62%, 90%)
CMYKcmyk(62.4%, 57.2%, 0%, 10.2%)
CIE-LABlab(47.46, 35.07, -68.08)
CIE-LCHlch(47.46, 76.58, 297.26°)
OKLaboklab(56.09% 0.0145 -0.1958)
OKLCHoklch(56.09% 0.196 274.2)
XYZxyz(22.3436, 16.3691, 76.0956)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662E5 #E5D956
analogous
#56AAE5 #5662E5 #9256E5
triadic
#5662E5 #E55662 #62E556
tetradic
#5662E5 #E556AA #E5D956 #56E592
square
#5662E5 #E556AA #E5D956 #56E592
split-complementary
#5662E5 #E59256 #AAE556
monochromatic
#1A26A7 #2231DC #5662E5 #8B93ED #C0C5F5

Accessibility & contrast

On white

4.91
#5662E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5662E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662E5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662E5#FFFFFF#000000##FFFFFF
##5662E51.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5662e5;
/* rgb */ color: rgb(86, 98, 229);
/* oklch */ color: oklch(56.1% 0.196 274.2);
Tailwind
colors: {
  custom: {
    50: '#948eee',
    500: '#5662e5',
    950: '#000000',
  },
}
SCSS
$custom: #5662e5;
$custom-light: #948eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5662e5",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 234.965,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.19631,
    "h": 274.2
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#5662E5
secondary
#E6E1B1
accent
#C510D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5662E5

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

Preview Lab → · Contrast checker → · Palette generator →

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