#566BB5#566BB5

#566BB5 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.6% C 0.118 H 270.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#566BB5
RGBrgb(86, 107, 181)
HSLhsl(227, 39%, 52%)
HSVhsv(227, 52%, 71%)
CMYKcmyk(52.5%, 40.9%, 0%, 29%)
CIE-LABlab(46.75, 13.62, -41.71)
CIE-LCHlch(46.75, 43.88, 288.08°)
OKLaboklab(54.58% 0.0004 -0.1182)
OKLCHoklch(54.58% 0.118 270.2)
XYZxyz(17.4332, 15.8288, 45.8437)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566BB5 #B5A056
analogous
#569BB5 #566BB5 #7156B5
triadic
#566BB5 #B5566B #6BB556
tetradic
#566BB5 #B5569B #B5A056 #56B571
square
#566BB5 #B5569B #B5A056 #56B571
split-complementary
#566BB5 #B57156 #9BB556
monochromatic
#2C3965 #3F508F #566BB5 #8190C8 #ABB6DA

Accessibility & contrast

On white

5.04
#566BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#566BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566BB5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566BB5#FFFFFF#000000##FFFFFF
##566BB51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B8
Deuteranopia (green-blind)
#436BB3
Tritanopia (blue-blind)
#2A7B87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #566bb5;
/* rgb */ color: rgb(86, 107, 181);
/* oklch */ color: oklch(54.6% 0.118 270.2);
Tailwind
colors: {
  custom: {
    50: '#8c95cb',
    500: '#566bb5',
    950: '#000000',
  },
}
SCSS
$custom: #566bb5;
$custom-light: #8c95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#566bb5",
  "rgb": {
    "r": 86,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 226.737,
    "s": 39.095,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.1182,
    "h": 270.2
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#566BB5
secondary
#C8BF9F
accent
#B559CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #566BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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