#564FAF#564FAF

#564FAF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.148 H 282.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#564FAF
RGBrgb(86, 79, 175)
HSLhsl(244, 38%, 50%)
HSVhsv(244, 55%, 69%)
CMYKcmyk(50.9%, 54.9%, 0%, 31.4%)
CIE-LABlab(39.01, 29.25, -50.57)
CIE-LCHlch(39.01, 58.42, 300.04°)
OKLaboklab(48.61% 0.0325 -0.1444)
OKLCHoklch(48.61% 0.148 282.7)
XYZxyz(14.3693, 10.6648, 41.8505)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564FAF #A8AF4F
analogous
#4F78AF #564FAF #864FAF
triadic
#564FAF #AF564F #4FAF56
tetradic
#564FAF #AF4F78 #A8AF4F #4FAF86
square
#564FAF #AF4F78 #A8AF4F #4FAF86
split-complementary
#564FAF #AF864F #78AF4F
monochromatic
#2D295B #413C85 #564FAF #7E79C2 #A7A3D5

Accessibility & contrast

On white

6.70
#564FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#564FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564FAF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564FAF#FFFFFF#000000##FFFFFF
##564FAF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0C59AD
Tritanopia (blue-blind)
#346477
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #564faf;
/* rgb */ color: rgb(86, 79, 175);
/* oklch */ color: oklch(48.6% 0.148 282.7);
Tailwind
colors: {
  custom: {
    50: '#8c80c7',
    500: '#564faf',
    950: '#000000',
  },
}
SCSS
$custom: #564faf;
$custom-light: #8c80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#564faf",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 244.375,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.14803,
    "h": 282.7
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#564FAF
secondary
#BFC397
accent
#CE5AC5
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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