#5562CB#5562CB

#5562CB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.162 H 274.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5562CB
RGBrgb(85, 98, 203)
HSLhsl(233, 53%, 56%)
HSVhsv(233, 58%, 80%)
CMYKcmyk(58.1%, 51.7%, 0%, 20.4%)
CIE-LABlab(45.60, 26.26, -56.27)
CIE-LCHlch(45.60, 62.10, 295.02°)
OKLaboklab(54.12% 0.0123 -0.1611)
OKLCHoklch(54.12% 0.162 274.4)
XYZxyz(18.8900, 14.9770, 58.3838)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5562CB #CBBE55
analogous
#559DCB #5562CB #8355CB
triadic
#5562CB #CB5562 #62CB55
tetradic
#5562CB #CB559D #CBBE55 #55CB83
square
#5562CB #CB559D #CBBE55 #55CB83
split-complementary
#5562CB #CB8355 #9DCB55
monochromatic
#27307F #3542AE #5562CB #848DD9 #B3B9E8

Accessibility & contrast

On white

5.26
#5562CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5562CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5562CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5562CB#FFFFFF#000000##FFFFFF
##5562CB1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#0867C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5562cb;
/* rgb */ color: rgb(85, 98, 203);
/* oklch */ color: oklch(54.1% 0.162 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f8edb',
    500: '#5562cb',
    950: '#000000',
  },
}
SCSS
$custom: #5562cb;
$custom-light: #8f8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5562cb",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 233.39,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.16153,
    "h": 274.4
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#5562CB
secondary
#D6D1A6
accent
#CD4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5562CB

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

Preview Lab → · Contrast checker → · Palette generator →

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