#564DAF#564DAF

#564DAF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.151 H 283.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#564DAF
RGBrgb(86, 77, 175)
HSLhsl(246, 39%, 49%)
HSVhsv(246, 56%, 69%)
CMYKcmyk(50.9%, 56%, 0%, 31.4%)
CIE-LABlab(38.52, 30.49, -51.37)
CIE-LCHlch(38.52, 59.73, 300.69°)
OKLaboklab(48.24% 0.0348 -0.1468)
OKLCHoklch(48.24% 0.151 283.3)
XYZxyz(14.2272, 10.3806, 41.8031)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564DAF #A6AF4D
analogous
#4D75AF #564DAF #874DAF
triadic
#564DAF #AF564D #4DAF56
tetradic
#564DAF #AF4D75 #A6AF4D #4DAF87
square
#564DAF #AF4D75 #A6AF4D #4DAF87
split-complementary
#564DAF #AF874D #75AF4D
monochromatic
#2C285A #413A85 #564DAF #7D76C3 #A6A1D6

Accessibility & contrast

On white

6.83
#564DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#564DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564DAF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564DAF#FFFFFF#000000##FFFFFF
##564DAF1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB2
Deuteranopia (green-blind)
#0157AD
Tritanopia (blue-blind)
#346376
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #564daf;
/* rgb */ color: rgb(86, 77, 175);
/* oklch */ color: oklch(48.2% 0.151 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c7fc7',
    500: '#564daf',
    950: '#000000',
  },
}
SCSS
$custom: #564daf;
$custom-light: #8c7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#564daf",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 245.51,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.15083,
    "h": 283.3
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#564DAF
secondary
#BEC395
accent
#CF59C4
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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