#566FE4#566FE4

#566FE4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.179 H 270.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#566FE4
RGBrgb(86, 111, 228)
HSLhsl(229, 72%, 62%)
HSVhsv(229, 62%, 89%)
CMYKcmyk(62.3%, 51.3%, 0%, 10.6%)
CIE-LABlab(50.62, 26.74, -62.39)
CIE-LCHlch(50.62, 67.87, 293.20°)
OKLaboklab(58.44% 0.0026 -0.1789)
OKLCHoklch(58.44% 0.179 270.8)
XYZxyz(23.5211, 18.9467, 75.8013)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566FE4 #E4CB56
analogous
#56B6E4 #566FE4 #8456E4
triadic
#566FE4 #E4566F #6FE456
tetradic
#566FE4 #E456B6 #E4CB56 #56E484
square
#566FE4 #E456B6 #E4CB56 #56E484
split-complementary
#566FE4 #E48456 #B6E456
monochromatic
#1A33A5 #2343DA #566FE4 #8B9CEC #C0C9F5

Accessibility & contrast

On white

4.38
#566FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#566FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #566FE4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566FE4#FFFFFF#000000##000000
##566FE41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #566fe4;
/* rgb */ color: rgb(86, 111, 228);
/* oklch */ color: oklch(58.4% 0.179 270.8);
Tailwind
colors: {
  custom: {
    50: '#9398ed',
    500: '#566fe4',
    950: '#000000',
  },
}
SCSS
$custom: #566fe4;
$custom-light: #9398ed;
$custom-dark: #000000;
JSON
{
  "hex": "#566fe4",
  "rgb": {
    "r": 86,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 229.437,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58442,
    "c": 0.1789,
    "h": 270.8
  },
  "luminance": 0.18949
}

Semantic roles & 50–950 ramp

primary
#566FE4
secondary
#E5DCB0
accent
#B211D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #566FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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