#5656DB#5656DB

#5656DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.198 H 277.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5656DB
RGBrgb(86, 86, 219)
HSLhsl(240, 65%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(60.7%, 60.7%, 0%, 14.1%)
CIE-LABlab(43.87, 39.08, -68.24)
CIE-LCHlch(43.87, 78.64, 299.80°)
OKLaboklab(53.2% 0.0251 -0.1963)
OKLCHoklch(53.2% 0.198 277.3)
XYZxyz(19.9476, 13.7469, 68.6063)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656DB #DBDB56
analogous
#5699DB #5656DB #9956DB
triadic
#5656DB #DB5656 #56DB56
tetradic
#5656DB #DB5699 #DBDB56 #56DB99
square
#5656DB #DB5699 #DBDB56 #56DB99
split-complementary
#5656DB #DB9956 #99DB56
monochromatic
#202097 #2B2BC9 #5656DB #8888E6 #BBBBF0

Accessibility & contrast

On white

5.60
#5656DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5656DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656DB#FFFFFF#000000##FFFFFF
##5656DB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5656db;
/* rgb */ color: rgb(86, 86, 219);
/* oklch */ color: oklch(53.2% 0.198 277.3);
Tailwind
colors: {
  custom: {
    50: '#9386e7',
    500: '#5656db',
    950: '#000000',
  },
}
SCSS
$custom: #5656db;
$custom-light: #9386e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5656db",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.19794,
    "h": 277.3
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#5656DB
secondary
#E0E0AD
accent
#E840E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656DB

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

Preview Lab → · Contrast checker → · Palette generator →

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