#564EF1#564EF1

#564EF1 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.8% C 0.235 H 277.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#564EF1
RGBrgb(86, 78, 241)
HSLhsl(243, 85%, 63%)
HSVhsv(243, 68%, 95%)
CMYKcmyk(64.3%, 67.6%, 0%, 5.5%)
CIE-LABlab(43.91, 50.77, -80.63)
CIE-LCHlch(43.91, 95.28, 302.20°)
OKLaboklab(53.79% 0.0294 -0.2327)
OKLCHoklch(53.79% 0.235 277.2)
XYZxyz(22.4342, 13.7762, 84.6789)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564EF1 #E9F14E
analogous
#4E97F1 #564EF1 #A84EF1
triadic
#564EF1 #F1564E #4EF156
tetradic
#564EF1 #F14E97 #E9F14E #4EF1A8
square
#564EF1 #F14E97 #E9F14E #4EF1A8
split-complementary
#564EF1 #F1A84E #97F14E
monochromatic
#170EB6 #2015ED #564EF1 #8C87F5 #C2BFFA

Accessibility & contrast

On white

5.59
#564EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#564EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564EF1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564EF1#FFFFFF#000000##FFFFFF
##564EF11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF6
Deuteranopia (green-blind)
#0061EE
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #564ef1;
/* rgb */ color: rgb(86, 78, 241);
/* oklch */ color: oklch(53.8% 0.235 277.2);
Tailwind
colors: {
  custom: {
    50: '#9781f7',
    500: '#564ef1',
    950: '#000000',
  },
}
SCSS
$custom: #564ef1;
$custom-light: #9781f7;
$custom-dark: #000000;
JSON
{
  "hex": "#564ef1",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 242.945,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.23454,
    "h": 277.2
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#564EF1
secondary
#E8EBB0
accent
#E204D7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #564EF1

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

Preview Lab → · Contrast checker → · Palette generator →

#564EF1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva