#5662DF#5662DF

#5662DF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.6% C 0.188 H 274.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5662DF
RGBrgb(86, 98, 223)
HSLhsl(235, 68%, 61%)
HSVhsv(235, 61%, 87%)
CMYKcmyk(61.4%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.03, 33.08, -65.38)
CIE-LCHlch(47.03, 73.27, 296.84°)
OKLaboklab(55.63% 0.0144 -0.1878)
OKLCHoklch(55.63% 0.188 274.4)
XYZxyz(21.5203, 16.0398, 71.7596)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5662DF #DFD356
analogous
#56A6DF #5662DF #8F56DF
triadic
#5662DF #DF5662 #62DF56
tetradic
#5662DF #DF56A6 #DFD356 #56DF8F
square
#5662DF #DF56A6 #DFD356 #56DF8F
split-complementary
#5662DF #DF8F56 #A6DF56
monochromatic
#1E299D #2736D0 #5662DF #8992E9 #BDC2F2

Accessibility & contrast

On white

4.99
#5662DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5662DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5662DF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5662DF#FFFFFF#000000##FFFFFF
##5662DF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5662df;
/* rgb */ color: rgb(86, 98, 223);
/* oklch */ color: oklch(55.6% 0.188 274.4);
Tailwind
colors: {
  custom: {
    50: '#938eea',
    500: '#5662df',
    950: '#000000',
  },
}
SCSS
$custom: #5662df;
$custom-light: #938eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5662df",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 234.745,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.18839,
    "h": 274.4
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#5662DF
secondary
#E2DEAE
accent
#C015D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5662DF

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

Preview Lab → · Contrast checker → · Palette generator →

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