#564BBA#564BBA

#564BBA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.169 H 282.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#564BBA
RGBrgb(86, 75, 186)
HSLhsl(246, 45%, 51%)
HSVhsv(246, 60%, 73%)
CMYKcmyk(53.8%, 59.7%, 0%, 27.1%)
CIE-LABlab(38.82, 35.19, -57.36)
CIE-LCHlch(38.82, 67.29, 301.53°)
OKLaboklab(48.71% 0.0369 -0.1644)
OKLCHoklch(48.71% 0.169 282.6)
XYZxyz(15.2140, 10.5549, 47.6805)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BBA #AFBA4B
analogous
#4B77BA #564BBA #8D4BBA
triadic
#564BBA #BA564B #4BBA56
tetradic
#564BBA #BA4B77 #AFBA4B #4BBA8D
square
#564BBA #BA4B77 #AFBA4B #4BBA8D
split-complementary
#564BBA #BA8D4B #77BA4B
monochromatic
#2D2664 #403790 #564BBA #8077CB #A9A3DC

Accessibility & contrast

On white

6.75
#564BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#564BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BBA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BBA#FFFFFF#000000##FFFFFF
##564BBA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#2B657B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564bba;
/* rgb */ color: rgb(86, 75, 186);
/* oklch */ color: oklch(48.7% 0.169 282.6);
Tailwind
colors: {
  custom: {
    50: '#8e7ed0',
    500: '#564bba',
    950: '#000000',
  },
}
SCSS
$custom: #564bba;
$custom-light: #8e7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#564bba",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 245.946,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.1685,
    "h": 282.6
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#564BBA
secondary
#C4C998
accent
#D454C8
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #564BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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