#5664EC#5664EC

#5664EC is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.0% C 0.203 H 273.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5664EC
RGBrgb(86, 100, 236)
HSLhsl(234, 80%, 63%)
HSVhsv(234, 64%, 93%)
CMYKcmyk(63.6%, 57.6%, 0%, 7.5%)
CIE-LABlab(48.44, 36.18, -70.41)
CIE-LCHlch(48.44, 79.16, 297.19°)
OKLaboklab(56.98% 0.0128 -0.2026)
OKLCHoklch(56.98% 0.203 273.6)
XYZxyz(23.5302, 17.1469, 81.4103)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5664EC #ECDE56
analogous
#56AFEC #5664EC #9356EC
triadic
#5664EC #EC5664 #64EC56
tetradic
#5664EC #EC56AF #ECDE56 #56EC93
square
#5664EC #EC56AF #ECDE56 #56EC93
split-complementary
#5664EC #EC9356 #AFEC56
monochromatic
#1423B3 #1F32E6 #5664EC #8D96F2 #C4C9F8

Accessibility & contrast

On white

4.74
#5664EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5664EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5664EC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5664EC#FFFFFF#000000##FFFFFF
##5664EC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5664ec;
/* rgb */ color: rgb(86, 100, 236);
/* oklch */ color: oklch(57.0% 0.203 273.6);
Tailwind
colors: {
  custom: {
    50: '#9590f3',
    500: '#5664ec',
    950: '#000000',
  },
}
SCSS
$custom: #5664ec;
$custom-light: #9590f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5664ec",
  "rgb": {
    "r": 86,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 234.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.20302,
    "h": 273.6
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#5664EC
secondary
#EAE5B4
accent
#C809DC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5664EC

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

Preview Lab → · Contrast checker → · Palette generator →

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