#5562E2#5562E2

#5562E2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.193 H 274.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5562E2
RGBrgb(85, 98, 226)
HSLhsl(234, 71%, 61%)
HSVhsv(234, 62%, 89%)
CMYKcmyk(62.4%, 56.6%, 0%, 11.4%)
CIE-LABlab(47.18, 33.91, -66.84)
CIE-LCHlch(47.18, 74.95, 296.90°)
OKLaboklab(55.8% 0.0134 -0.1921)
OKLCHoklch(55.8% 0.193 274)
XYZxyz(21.8369, 16.1558, 73.9044)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5562E2 #E2D555
analogous
#55A8E2 #5562E2 #8E55E2
triadic
#5562E2 #E25562 #62E255
tetradic
#5562E2 #E255A8 #E2D555 #55E28E
square
#5562E2 #E255A8 #E2D555 #55E28E
split-complementary
#5562E2 #E28E55 #A8E255
monochromatic
#1B28A1 #2435D5 #5562E2 #8992EB #BEC3F4

Accessibility & contrast

On white

4.96
#5562E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5562E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5562E2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5562E2#FFFFFF#000000##FFFFFF
##5562E21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5562e2;
/* rgb */ color: rgb(85, 98, 226);
/* oklch */ color: oklch(55.8% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#938eec',
    500: '#5562e2',
    950: '#000000',
  },
}
SCSS
$custom: #5562e2;
$custom-light: #938eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5562e2",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 234.468,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.1926,
    "h": 274
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#5562E2
secondary
#E4DFAF
accent
#C113D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5562E2

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

Preview Lab → · Contrast checker → · Palette generator →

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