#566AB2#566AB2

#566AB2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.2% C 0.115 H 270.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#566AB2
RGBrgb(86, 106, 178)
HSLhsl(227, 37%, 52%)
HSVhsv(227, 52%, 70%)
CMYKcmyk(51.7%, 40.4%, 0%, 30.2%)
CIE-LABlab(46.31, 13.27, -40.66)
CIE-LCHlch(46.31, 42.77, 288.07°)
OKLaboklab(54.19% 0.001 -0.1151)
OKLCHoklch(54.19% 0.115 270.5)
XYZxyz(17.0251, 15.4997, 44.2055)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566AB2 #B29E56
analogous
#5698B2 #566AB2 #7056B2
triadic
#566AB2 #B2566A #6AB256
tetradic
#566AB2 #B25698 #B29E56 #56B270
square
#566AB2 #B25698 #B29E56 #56B270
split-complementary
#566AB2 #B27056 #98B256
monochromatic
#2C3861 #3F508B #566AB2 #808FC5 #AAB4D8

Accessibility & contrast

On white

5.12
#566AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#566AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566AB2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566AB2#FFFFFF#000000##FFFFFF
##566AB21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#2D7985
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #566ab2;
/* rgb */ color: rgb(86, 106, 178);
/* oklch */ color: oklch(54.2% 0.115 270.5);
Tailwind
colors: {
  custom: {
    50: '#8b94c9',
    500: '#566ab2',
    950: '#000000',
  },
}
SCSS
$custom: #566ab2;
$custom-light: #8b94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#566ab2",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 226.957,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.11513,
    "h": 270.5
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#566AB2
secondary
#C6BD9E
accent
#B45ACD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #566AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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