#5662BE#5662BE

#5662BE is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.143 H 274.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5662BE
RGBrgb(86, 98, 190)
HSLhsl(233, 44%, 54%)
HSVhsv(233, 55%, 75%)
CMYKcmyk(54.7%, 48.4%, 0%, 25.5%)
CIE-LABlab(44.84, 22.17, -49.98)
CIE-LCHlch(44.84, 54.68, 293.92°)
OKLaboklab(53.3% 0.0122 -0.1425)
OKLCHoklch(53.3% 0.143 274.9)
XYZxyz(17.4967, 14.4303, 50.5686)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662BE #BEB256
analogous
#5696BE #5662BE #7E56BE
triadic
#5662BE #BE5662 #62BE56
tetradic
#5662BE #BE5696 #BEB256 #56BE7E
square
#5662BE #BE5696 #BEB256 #56BE7E
split-complementary
#5662BE #BE7E56 #96BE56
monochromatic
#2B336F #3C479B #5662BE #828BCF #AEB4E0

Accessibility & contrast

On white

5.40
#5662BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5662BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662BE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662BE#FFFFFF#000000##FFFFFF
##5662BE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC1
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#217687
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5662be;
/* rgb */ color: rgb(86, 98, 190);
/* oklch */ color: oklch(53.3% 0.143 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ed2',
    500: '#5662be',
    950: '#000000',
  },
}
SCSS
$custom: #5662be;
$custom-light: #8d8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5662be",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 233.077,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.14305,
    "h": 274.9
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#5662BE
secondary
#CEC9A2
accent
#C554D4
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5662BE

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

Preview Lab → · Contrast checker → · Palette generator →

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