#564FA2#564FA2

#564FA2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.130 H 284.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#564FA2
RGBrgb(86, 79, 162)
HSLhsl(245, 34%, 47%)
HSVhsv(245, 51%, 64%)
CMYKcmyk(46.9%, 51.2%, 0%, 36.5%)
CIE-LABlab(38.16, 25.17, -44.20)
CIE-LCHlch(38.16, 50.87, 299.66°)
OKLaboklab(47.7% 0.0317 -0.1257)
OKLCHoklch(47.7% 0.13 284.2)
XYZxyz(13.1534, 10.1784, 35.4470)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564FA2 #9BA24F
analogous
#4F72A2 #564FA2 #7F4FA2
triadic
#564FA2 #A2564F #4FA256
tetradic
#564FA2 #A24F72 #9BA24F #4FA27F
square
#564FA2 #A24F72 #9BA24F #4FA27F
split-complementary
#564FA2 #A27F4F #72A24F
monochromatic
#2A2750 #403B79 #564FA2 #7973BB #A19CCF

Accessibility & contrast

On white

6.92
#564FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#564FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564FA2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564FA2#FFFFFF#000000##FFFFFF
##564FA21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#3D6171
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564fa2;
/* rgb */ color: rgb(86, 79, 162);
/* oklch */ color: oklch(47.7% 0.130 284.2);
Tailwind
colors: {
  custom: {
    50: '#8a80be',
    500: '#564fa2',
    950: '#000000',
  },
}
SCSS
$custom: #564fa2;
$custom-light: #8a80be;
$custom-dark: #000000;
JSON
{
  "hex": "#564fa2",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 245.06,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.12965,
    "h": 284.2
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#564FA2
secondary
#B8BC91
accent
#CB5DC1
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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