#564BB2#564BB2

#564BB2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.158 H 283.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#564BB2
RGBrgb(86, 75, 178)
HSLhsl(246, 41%, 50%)
HSVhsv(246, 58%, 70%)
CMYKcmyk(51.7%, 57.9%, 0%, 30.2%)
CIE-LABlab(38.24, 32.67, -53.58)
CIE-LCHlch(38.24, 62.76, 301.37°)
OKLaboklab(48.1% 0.037 -0.1533)
OKLCHoklch(48.1% 0.158 283.6)
XYZxyz(14.3873, 10.2242, 43.3262)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564BB2 #A7B24B
analogous
#4B74B2 #564BB2 #8A4BB2
triadic
#564BB2 #B2564B #4BB256
tetradic
#564BB2 #B24B74 #A7B24B #4BB28A
square
#564BB2 #B24B74 #A7B24B #4BB28A
split-complementary
#564BB2 #B28A4B #74B24B
monochromatic
#2C275C #413987 #564BB2 #7E75C5 #A6A0D7

Accessibility & contrast

On white

6.90
#564BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#564BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #564BB2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564BB2#FFFFFF#000000##FFFFFF
##564BB21.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#326377
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #564bb2;
/* rgb */ color: rgb(86, 75, 178);
/* oklch */ color: oklch(48.1% 0.158 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d7dca',
    500: '#564bb2',
    950: '#000000',
  },
}
SCSS
$custom: #564bb2;
$custom-light: #8d7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#564bb2",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 246.408,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.15772,
    "h": 283.6
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#564BB2
secondary
#BFC495
accent
#D157C4
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #564BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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