#564DA2#564DA2

#564DA2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.133 H 284.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#564DA2
RGBrgb(86, 77, 162)
HSLhsl(246, 36%, 47%)
HSVhsv(246, 52%, 64%)
CMYKcmyk(46.9%, 52.5%, 0%, 36.5%)
CIE-LABlab(37.65, 26.43, -45.02)
CIE-LCHlch(37.65, 52.21, 300.42°)
OKLaboklab(47.32% 0.0342 -0.1281)
OKLCHoklch(47.32% 0.133 284.9)
XYZxyz(13.0113, 9.8942, 35.3996)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564DA2 #99A24D
analogous
#4D6FA2 #564DA2 #814DA2
triadic
#564DA2 #A2564D #4DA256
tetradic
#564DA2 #A24D6F #99A24D #4DA281
square
#564DA2 #A24D6F #99A24D #4DA281
split-complementary
#564DA2 #A2814D #6FA24D
monochromatic
#2A264F #403979 #564DA2 #7971BB #A09ACF

Accessibility & contrast

On white

7.05
#564DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#564DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564DA2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564DA2#FFFFFF#000000##FFFFFF
##564DA21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#3D5F70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #564da2;
/* rgb */ color: rgb(86, 77, 162);
/* oklch */ color: oklch(47.3% 0.133 284.9);
Tailwind
colors: {
  custom: {
    50: '#8b7fbe',
    500: '#564da2',
    950: '#000000',
  },
}
SCSS
$custom: #564da2;
$custom-light: #8b7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#564da2",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 246.353,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.1326,
    "h": 284.9
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#564DA2
secondary
#B7BC8F
accent
#CC5CC0
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #564DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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