#5662CD#5662CD

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

Color values

HEX#5662CD
RGBrgb(86, 98, 205)
HSLhsl(234, 54%, 57%)
HSVhsv(234, 58%, 80%)
CMYKcmyk(58%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.80, 27.11, -57.10)
CIE-LCHlch(45.80, 63.21, 295.40°)
OKLaboklab(54.32% 0.0136 -0.1635)
OKLCHoklch(54.32% 0.164 274.7)
XYZxyz(19.2213, 15.1201, 59.6514)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662CD #CDC156
analogous
#569DCD #5662CD #8656CD
triadic
#5662CD #CD5662 #62CD56
tetradic
#5662CD #CD569D #CDC156 #56CD86
square
#5662CD #CD569D #CDC156 #56CD86
split-complementary
#5662CD #CD8656 #9DCD56
monochromatic
#263082 #3441B1 #5662CD #858EDB #B4BAE9

Accessibility & contrast

On white

5.22
#5662CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5662CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662CD#FFFFFF#000000##FFFFFF
##5662CD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5662cd;
/* rgb */ color: rgb(86, 98, 205);
/* oklch */ color: oklch(54.3% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#908edd',
    500: '#5662cd',
    950: '#000000',
  },
}
SCSS
$custom: #5662cd;
$custom-light: #908edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5662cd",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 233.95,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.16404,
    "h": 274.7
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#5662CD
secondary
#D8D3A7
accent
#CF4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5662CD

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

Preview Lab → · Contrast checker → · Palette generator →

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