#5662EB#5662EB

#5662EB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.6% C 0.204 H 274.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5662EB
RGBrgb(86, 98, 235)
HSLhsl(235, 79%, 63%)
HSVhsv(235, 63%, 92%)
CMYKcmyk(63.4%, 58.3%, 0%, 7.8%)
CIE-LABlab(47.89, 37.06, -70.75)
CIE-LCHlch(47.89, 79.87, 297.65°)
OKLaboklab(56.55% 0.0145 -0.2036)
OKLCHoklch(56.55% 0.204 274.1)
XYZxyz(23.1959, 16.7100, 80.5841)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662EB #EBDF56
analogous
#56ACEB #5662EB #9556EB
triadic
#5662EB #EB5662 #62EB56
tetradic
#5662EB #EB56AC #EBDF56 #56EB95
square
#5662EB #EB56AC #EBDF56 #56EB95
split-complementary
#5662EB #EB9556 #ACEB56
monochromatic
#1522B2 #1F2FE5 #5662EB #8D95F1 #C3C8F8

Accessibility & contrast

On white

4.84
#5662EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5662EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662EB#FFFFFF#000000##FFFFFF
##5662EB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5662eb;
/* rgb */ color: rgb(86, 98, 235);
/* oklch */ color: oklch(56.6% 0.204 274.1);
Tailwind
colors: {
  custom: {
    50: '#958ef2',
    500: '#5662eb',
    950: '#000000',
  },
}
SCSS
$custom: #5662eb;
$custom-light: #958ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5662eb",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 235.168,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.20413,
    "h": 274.1
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#5662EB
secondary
#E9E5B4
accent
#CA0ADB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5662EB

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

Preview Lab → · Contrast checker → · Palette generator →

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