#5662CB#5662CB

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

Color values

HEX#5662CB
RGBrgb(86, 98, 203)
HSLhsl(234, 53%, 57%)
HSVhsv(234, 58%, 80%)
CMYKcmyk(57.6%, 51.7%, 0%, 20.4%)
CIE-LABlab(45.67, 26.45, -56.16)
CIE-LCHlch(45.67, 62.08, 295.22°)
OKLaboklab(54.18% 0.0134 -0.1607)
OKLCHoklch(54.18% 0.161 274.8)
XYZxyz(18.9814, 15.0242, 58.3880)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662CB #CBBF56
analogous
#569DCB #5662CB #8556CB
triadic
#5662CB #CB5662 #62CB56
tetradic
#5662CB #CB569D #CBBF56 #56CB85
square
#5662CB #CB569D #CBBF56 #56CB85
split-complementary
#5662CB #CB8556 #9DCB56
monochromatic
#27307F #3642AE #5662CB #858DD9 #B4B9E8

Accessibility & contrast

On white

5.24
#5662CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5662CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662CB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662CB#FFFFFF#000000##FFFFFF
##5662CB1.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)
#2771CF
Deuteranopia (green-blind)
#0A67C9
Tritanopia (blue-blind)
#027A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5662cb;
/* rgb */ color: rgb(86, 98, 203);
/* oklch */ color: oklch(54.2% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f8edb',
    500: '#5662cb',
    950: '#000000',
  },
}
SCSS
$custom: #5662cb;
$custom-light: #8f8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5662cb",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 233.846,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.16128,
    "h": 274.8
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5662CB

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

Preview Lab → · Contrast checker → · Palette generator →

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