#566AAA#566AAA

#566AAA is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.7% C 0.103 H 269.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#566AAA
RGBrgb(86, 106, 170)
HSLhsl(226, 33%, 50%)
HSVhsv(226, 49%, 67%)
CMYKcmyk(49.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(45.89, 10.71, -36.65)
CIE-LCHlch(45.89, 38.18, 286.29°)
OKLaboklab(53.73% -0.0008 -0.1034)
OKLCHoklch(53.73% 0.103 269.6)
XYZxyz(16.2452, 15.1878, 40.0979)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566AAA #AA9656
analogous
#5694AA #566AAA #6C56AA
triadic
#566AAA #AA566A #6AAA56
tetradic
#566AAA #AA5694 #AA9656 #56AA6C
square
#566AAA #AA5694 #AA9656 #56AA6C
split-complementary
#566AAA #AA6C56 #94AA56
monochromatic
#2D3759 #415182 #566AAA #7F8EBE #A7B2D3

Accessibility & contrast

On white

5.20
#566AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#566AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566AAA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566AAA#FFFFFF#000000##FFFFFF
##566AAA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#4969A9
Tritanopia (blue-blind)
#347882
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #566aaa;
/* rgb */ color: rgb(86, 106, 170);
/* oklch */ color: oklch(53.7% 0.103 269.6);
Tailwind
colors: {
  custom: {
    50: '#8a94c3',
    500: '#566aaa',
    950: '#000000',
  },
}
SCSS
$custom: #566aaa;
$custom-light: #8a94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#566aaa",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 225.714,
    "s": 33.071,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.10342,
    "h": 269.6
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#566AAA
secondary
#C1B89B
accent
#B05FC9
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #566AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#566AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva