#5562E7#5562E7

#5562E7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.199 H 273.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5562E7
RGBrgb(85, 98, 231)
HSLhsl(235, 75%, 62%)
HSVhsv(235, 63%, 91%)
CMYKcmyk(63.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(47.54, 35.58, -69.07)
CIE-LCHlch(47.54, 77.70, 297.25°)
OKLaboklab(56.18% 0.0134 -0.1987)
OKLCHoklch(56.18% 0.199 273.9)
XYZxyz(22.5330, 16.4343, 77.5705)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5562E7 #E7DA55
analogous
#55ABE7 #5562E7 #9155E7
triadic
#5562E7 #E75562 #62E755
tetradic
#5562E7 #E755AB #E7DA55 #55E791
square
#5562E7 #E755AB #E7DA55 #55E791
split-complementary
#5562E7 #E79155 #ABE755
monochromatic
#1825AA #2031DF #5562E7 #8B94EF #C0C5F6

Accessibility & contrast

On white

4.90
#5562E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5562E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5562E7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5562E7#FFFFFF#000000##FFFFFF
##5562E71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5562e7;
/* rgb */ color: rgb(85, 98, 231);
/* oklch */ color: oklch(56.2% 0.199 273.9);
Tailwind
colors: {
  custom: {
    50: '#938ef0',
    500: '#5562e7',
    950: '#000000',
  },
}
SCSS
$custom: #5562e7;
$custom-light: #938ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5562e7",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 234.658,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.19917,
    "h": 273.9
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#5562E7
secondary
#E7E2B1
accent
#C50ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5562E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5562E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva