#5656E3#5656E3

#5656E3 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.208 H 276.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5656E3
RGBrgb(86, 86, 227)
HSLhsl(240, 72%, 61%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(62.1%, 62.1%, 0%, 11%)
CIE-LABlab(44.49, 41.67, -71.78)
CIE-LCHlch(44.49, 83.00, 300.14°)
OKLaboklab(53.85% 0.0247 -0.2067)
OKLCHoklch(53.85% 0.208 276.8)
XYZxyz(21.0262, 14.1784, 74.2868)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E3 #E3E356
analogous
#569DE3 #5656E3 #9D56E3
triadic
#5656E3 #E35656 #56E356
tetradic
#5656E3 #E3569D #E3E356 #56E39D
square
#5656E3 #E3569D #E3E356 #56E39D
split-complementary
#5656E3 #E39D56 #9DE356
monochromatic
#1B1BA4 #2424D8 #5656E3 #8B8BEC #BFBFF4

Accessibility & contrast

On white

5.47
#5656E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5656E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E3#FFFFFF#000000##FFFFFF
##5656E31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5656e3;
/* rgb */ color: rgb(86, 86, 227);
/* oklch */ color: oklch(53.9% 0.208 276.8);
Tailwind
colors: {
  custom: {
    50: '#9486ed',
    500: '#5656e3',
    950: '#000000',
  },
}
SCSS
$custom: #5656e3;
$custom-light: #9486ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e3",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 240,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.20821,
    "h": 276.8
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#5656E3
secondary
#E5E5B0
accent
#D412D4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656E3

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

Preview Lab → · Contrast checker → · Palette generator →

#5656E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva