#5664E2#5664E2

#5664E2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.2% C 0.190 H 273.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5664E2
RGBrgb(86, 100, 226)
HSLhsl(234, 71%, 61%)
HSVhsv(234, 62%, 89%)
CMYKcmyk(61.9%, 55.8%, 0%, 11.4%)
CIE-LABlab(47.73, 32.85, -65.94)
CIE-LCHlch(47.73, 73.67, 296.48°)
OKLaboklab(56.23% 0.0126 -0.1895)
OKLCHoklch(56.23% 0.19 273.8)
XYZxyz(22.1179, 16.5819, 73.9718)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5664E2 #E2D456
analogous
#56AAE2 #5664E2 #8E56E2
triadic
#5664E2 #E25664 #64E256
tetradic
#5664E2 #E256AA #E2D456 #56E28E
square
#5664E2 #E256AA #E2D456 #56E28E
split-complementary
#5664E2 #E28E56 #AAE256
monochromatic
#1C29A2 #2536D6 #5664E2 #8A94EB #BEC4F4

Accessibility & contrast

On white

4.86
#5664E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5664E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5664E2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5664E2#FFFFFF#000000##FFFFFF
##5664E21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5664e2;
/* rgb */ color: rgb(86, 100, 226);
/* oklch */ color: oklch(56.2% 0.190 273.8);
Tailwind
colors: {
  custom: {
    50: '#9390ec',
    500: '#5664e2',
    950: '#000000',
  },
}
SCSS
$custom: #5664e2;
$custom-light: #9390ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5664e2",
  "rgb": {
    "r": 86,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 234,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.18989,
    "h": 273.8
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#5664E2
secondary
#E4DFB0
accent
#C013D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5664E2

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

Preview Lab → · Contrast checker → · Palette generator →

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