#5662CA#5662CA

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

Color values

HEX#5662CA
RGBrgb(86, 98, 202)
HSLhsl(234, 52%, 56%)
HSVhsv(234, 57%, 79%)
CMYKcmyk(57.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(45.60, 26.12, -55.69)
CIE-LCHlch(45.60, 61.51, 295.13°)
OKLaboklab(54.11% 0.0133 -0.1593)
OKLCHoklch(54.11% 0.16 274.8)
XYZxyz(18.8626, 14.9767, 57.7625)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662CA #CABE56
analogous
#569CCA #5662CA #8456CA
triadic
#5662CA #CA5662 #62CA56
tetradic
#5662CA #CA569C #CABE56 #56CA84
square
#5662CA #CA569C #CABE56 #56CA84
split-complementary
#5662CA #CA8456 #9CCA56
monochromatic
#28307E #3642AD #5662CA #858DD9 #B3B9E7

Accessibility & contrast

On white

5.26
#5662CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5662CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662CA#FFFFFF#000000##FFFFFF
##5662CA1.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)
#2971CE
Deuteranopia (green-blind)
#0F67C8
Tritanopia (blue-blind)
#067A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5662ca;
/* rgb */ color: rgb(86, 98, 202);
/* oklch */ color: oklch(54.1% 0.160 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f8edb',
    500: '#5662ca',
    950: '#000000',
  },
}
SCSS
$custom: #5662ca;
$custom-light: #8f8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5662ca",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 233.793,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.1599,
    "h": 274.8
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5662CA

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

Preview Lab → · Contrast checker → · Palette generator →

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