#5662DB#5662DB

#5662DB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.183 H 274.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5662DB
RGBrgb(86, 98, 219)
HSLhsl(235, 65%, 60%)
HSVhsv(235, 61%, 86%)
CMYKcmyk(60.7%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.75, 31.75, -63.57)
CIE-LCHlch(46.75, 71.06, 296.54°)
OKLaboklab(55.34% 0.0143 -0.1825)
OKLCHoklch(55.34% 0.183 274.5)
XYZxyz(20.9874, 15.8266, 68.9530)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662DB #DBCF56
analogous
#56A5DB #5662DB #8C56DB
triadic
#5662DB #DB5662 #62DB56
tetradic
#5662DB #DB56A5 #DBCF56 #56DB8C
square
#5662DB #DB56A5 #DBCF56 #56DB8C
split-complementary
#5662DB #DB8C56 #A5DB56
monochromatic
#202B97 #2B39C9 #5662DB #8891E6 #BBC0F0

Accessibility & contrast

On white

5.04
#5662DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5662DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662DB#FFFFFF#000000##FFFFFF
##5662DB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5662db;
/* rgb */ color: rgb(86, 98, 219);
/* oklch */ color: oklch(55.3% 0.183 274.5);
Tailwind
colors: {
  custom: {
    50: '#928ee7',
    500: '#5662db',
    950: '#000000',
  },
}
SCSS
$custom: #5662db;
$custom-light: #928ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5662db",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 234.586,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.18306,
    "h": 274.5
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#5662DB
secondary
#E0DBAD
accent
#D940E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5662DB

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

Preview Lab → · Contrast checker → · Palette generator →

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