#5756DB#5756DB

#5756DB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.198 H 277.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5756DB
RGBrgb(87, 86, 219)
HSLhsl(240, 65%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(60.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(43.94, 39.24, -68.12)
CIE-LCHlch(43.94, 78.62, 299.95°)
OKLaboklab(53.27% 0.0263 -0.196)
OKLCHoklch(53.27% 0.198 277.6)
XYZxyz(20.0403, 13.7948, 68.6107)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756DB #DADB56
analogous
#5698DB #5756DB #9956DB
triadic
#5756DB #DB5756 #56DB57
tetradic
#5756DB #DB5698 #DADB56 #56DB99
square
#5756DB #DB5698 #DADB56 #56DB99
split-complementary
#5756DB #DB9956 #98DB56
monochromatic
#212097 #2C2BC9 #5756DB #8988E6 #BBBBF0

Accessibility & contrast

On white

5.59
#5756DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5756DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756DB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756DB#FFFFFF#000000##FFFFFF
##5756DB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.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: #5756db;
/* rgb */ color: rgb(87, 86, 219);
/* oklch */ color: oklch(53.3% 0.198 277.6);
Tailwind
colors: {
  custom: {
    50: '#9386e7',
    500: '#5756db',
    950: '#000000',
  },
}
SCSS
$custom: #5756db;
$custom-light: #9386e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5756db",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 240.451,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53272,
    "c": 0.19773,
    "h": 277.6
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5756DB

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

Preview Lab → · Contrast checker → · Palette generator →

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