#5664E4#5664E4

#5664E4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.193 H 273.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5664E4
RGBrgb(86, 100, 228)
HSLhsl(234, 72%, 62%)
HSVhsv(234, 62%, 89%)
CMYKcmyk(62.3%, 56.1%, 0%, 10.6%)
CIE-LABlab(47.87, 33.51, -66.84)
CIE-LCHlch(47.87, 74.77, 296.63°)
OKLaboklab(56.38% 0.0127 -0.1921)
OKLCHoklch(56.38% 0.193 273.8)
XYZxyz(22.3939, 16.6923, 75.4256)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5664E4 #E4D656
analogous
#56ABE4 #5664E4 #8F56E4
triadic
#5664E4 #E45664 #64E456
tetradic
#5664E4 #E456AB #E4D656 #56E48F
square
#5664E4 #E456AB #E4D656 #56E48F
split-complementary
#5664E4 #E48F56 #ABE456
monochromatic
#1A28A5 #2335DA #5664E4 #8B94EC #C0C5F5

Accessibility & contrast

On white

4.84
#5664E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5664E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5664E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5664E4#FFFFFF#000000##FFFFFF
##5664E41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5664e4;
/* rgb */ color: rgb(86, 100, 228);
/* oklch */ color: oklch(56.4% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#9390ed',
    500: '#5664e4',
    950: '#000000',
  },
}
SCSS
$custom: #5664e4;
$custom-light: #9390ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5664e4",
  "rgb": {
    "r": 86,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 234.085,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.19254,
    "h": 273.8
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#5664E4
secondary
#E5E0B0
accent
#C111D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5664E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5664E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva