#564ABB#564ABB

#564ABB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.171 H 282.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#564ABB
RGBrgb(86, 74, 187)
HSLhsl(246, 45%, 51%)
HSVhsv(246, 60%, 73%)
CMYKcmyk(54%, 60.4%, 0%, 26.7%)
CIE-LABlab(38.66, 36.11, -58.20)
CIE-LCHlch(38.66, 68.49, 301.81°)
OKLaboklab(48.62% 0.0379 -0.1669)
OKLCHoklch(48.62% 0.171 282.8)
XYZxyz(15.2534, 10.4630, 48.2199)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564ABB #AFBB4A
analogous
#4A76BB #564ABB #8E4ABB
triadic
#564ABB #BB564A #4ABB56
tetradic
#564ABB #BB4A76 #AFBB4A #4ABB8E
square
#564ABB #BB4A76 #AFBB4A #4ABB8E
split-complementary
#564ABB #BB8E4A #76BB4A
monochromatic
#2D2665 #403791 #564ABB #8076CC #A9A3DC

Accessibility & contrast

On white

6.79
#564ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#564ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564ABB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564ABB#FFFFFF#000000##FFFFFF
##564ABB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#2A657B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564abb;
/* rgb */ color: rgb(86, 74, 187);
/* oklch */ color: oklch(48.6% 0.171 282.8);
Tailwind
colors: {
  custom: {
    50: '#8e7dd0',
    500: '#564abb',
    950: '#000000',
  },
}
SCSS
$custom: #564abb;
$custom-light: #8e7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#564abb",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 246.372,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48617,
    "c": 0.17115,
    "h": 282.8
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#564ABB
secondary
#C4C997
accent
#D553C7
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #564ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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