#5562CC#5562CC

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

Color values

HEX#5562CC
RGBrgb(85, 98, 204)
HSLhsl(233, 54%, 57%)
HSVhsv(233, 58%, 80%)
CMYKcmyk(58.3%, 52%, 0%, 20%)
CIE-LABlab(45.67, 26.59, -56.74)
CIE-LCHlch(45.67, 62.66, 295.11°)
OKLaboklab(54.19% 0.0124 -0.1624)
OKLCHoklch(54.19% 0.163 274.4)
XYZxyz(19.0095, 15.0249, 59.0134)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5562CC #CCBF55
analogous
#559ECC #5562CC #8455CC
triadic
#5562CC #CC5562 #62CC55
tetradic
#5562CC #CC559E #CCBF55 #55CC84
square
#5562CC #CC559E #CCBF55 #55CC84
split-complementary
#5562CC #CC8455 #9ECC55
monochromatic
#263080 #3542AF #5562CC #848DDA #B3B9E8

Accessibility & contrast

On white

5.24
#5562CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5562CC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5562CC#FFFFFF#000000##FFFFFF
##5562CC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571D0
Deuteranopia (green-blind)
#0367CA
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5562cc;
/* rgb */ color: rgb(85, 98, 204);
/* oklch */ color: oklch(54.2% 0.163 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f8edc',
    500: '#5562cc',
    950: '#000000',
  },
}
SCSS
$custom: #5562cc;
$custom-light: #8f8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5562cc",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 233.445,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.16291,
    "h": 274.4
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5562CC

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

Preview Lab → · Contrast checker → · Palette generator →

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