#5562CD#5562CD

#5562CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.164 H 274.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5562CD
RGBrgb(85, 98, 205)
HSLhsl(234, 55%, 57%)
HSVhsv(234, 59%, 80%)
CMYKcmyk(58.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.73, 26.92, -57.21)
CIE-LCHlch(45.73, 63.23, 295.20°)
OKLaboklab(54.26% 0.0125 -0.1638)
OKLCHoklch(54.26% 0.164 274.4)
XYZxyz(19.1298, 15.0730, 59.6471)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5562CD #CDC055
analogous
#559ECD #5562CD #8455CD
triadic
#5562CD #CD5562 #62CD55
tetradic
#5562CD #CD559E #CDC055 #55CD84
square
#5562CD #CD559E #CDC055 #55CD84
split-complementary
#5562CD #CD8455 #9ECD55
monochromatic
#263082 #3442B1 #5562CD #848EDB #B4B9E9

Accessibility & contrast

On white

5.23
#5562CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5562CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5562CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5562CD#FFFFFF#000000##FFFFFF
##5562CD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5562cd;
/* rgb */ color: rgb(85, 98, 205);
/* oklch */ color: oklch(54.3% 0.164 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f8edd',
    500: '#5562cd',
    950: '#000000',
  },
}
SCSS
$custom: #5562cd;
$custom-light: #8f8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5562cd",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 233.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.16429,
    "h": 274.4
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#5562CD
secondary
#D7D2A6
accent
#CE4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5562CD

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

Preview Lab → · Contrast checker → · Palette generator →

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