#566AEF#566AEF

#566AEF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.3% C 0.200 H 272.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#566AEF
RGBrgb(86, 106, 239)
HSLhsl(232, 83%, 64%)
HSVhsv(232, 64%, 94%)
CMYKcmyk(64%, 55.6%, 0%, 6.3%)
CIE-LABlab(50.12, 33.51, -69.38)
CIE-LCHlch(50.12, 77.05, 295.78°)
OKLaboklab(58.3% 0.0077 -0.1995)
OKLCHoklch(58.3% 0.2 272.2)
XYZxyz(24.5666, 18.5163, 83.9240)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566AEF #EFDB56
analogous
#56B6EF #566AEF #8E56EF
triadic
#566AEF #EF566A #6AEF56
tetradic
#566AEF #EF56B6 #EFDB56 #56EF8E
square
#566AEF #EF56B6 #EFDB56 #56EF8E
split-complementary
#566AEF #EF8E56 #B6EF56
monochromatic
#1227B9 #1E39EA #566AEF #8E9BF4 #C6CDFA

Accessibility & contrast

On white

4.46
#566AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#566AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #566AEF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566AEF#FFFFFF#000000##000000
##566AEF1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #566aef;
/* rgb */ color: rgb(86, 106, 239);
/* oklch */ color: oklch(58.3% 0.200 272.2);
Tailwind
colors: {
  custom: {
    50: '#9594f5',
    500: '#566aef',
    950: '#000000',
  },
}
SCSS
$custom: #566aef;
$custom-light: #9594f5;
$custom-dark: #000000;
JSON
{
  "hex": "#566aef",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 232.157,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.19967,
    "h": 272.2
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#566AEF
secondary
#EBE4B5
accent
#C306DF
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #566AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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