#566BB2#566BB2

#566BB2 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.4% C 0.114 H 269.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#566BB2
RGBrgb(86, 107, 178)
HSLhsl(226, 37%, 52%)
HSVhsv(226, 52%, 70%)
CMYKcmyk(51.7%, 39.9%, 0%, 30.2%)
CIE-LABlab(46.59, 12.65, -40.22)
CIE-LCHlch(46.59, 42.16, 287.46°)
OKLaboklab(54.41% -0.0002 -0.1138)
OKLCHoklch(54.41% 0.114 269.9)
XYZxyz(17.1287, 15.7070, 44.2400)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566BB2 #B29D56
analogous
#5699B2 #566BB2 #6F56B2
triadic
#566BB2 #B2566B #6BB256
tetradic
#566BB2 #B25699 #B29D56 #56B26F
square
#566BB2 #B25699 #B29D56 #56B26F
split-complementary
#566BB2 #B26F56 #99B256
monochromatic
#2C3861 #3F518B #566BB2 #8090C5 #AAB5D8

Accessibility & contrast

On white

5.07
#566BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#566BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566BB2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566BB2#FFFFFF#000000##FFFFFF
##566BB21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#2D7A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #566bb2;
/* rgb */ color: rgb(86, 107, 178);
/* oklch */ color: oklch(54.4% 0.114 269.9);
Tailwind
colors: {
  custom: {
    50: '#8b95c9',
    500: '#566bb2',
    950: '#000000',
  },
}
SCSS
$custom: #566bb2;
$custom-light: #8b95c9;
$custom-dark: #000000;
JSON
{
  "hex": "#566bb2",
  "rgb": {
    "r": 86,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 226.304,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.11384,
    "h": 269.9
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #566BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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