#5756FF#5756FF

#5756FF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.3% C 0.243 H 275.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5756FF
RGBrgb(87, 86, 255)
HSLhsl(240, 100%, 67%)
HSVhsv(240, 66%, 100%)
CMYKcmyk(65.9%, 66.3%, 0%, 0%)
CIE-LABlab(46.84, 50.77, -83.64)
CIE-LCHlch(46.84, 97.85, 301.26°)
OKLaboklab(56.29% 0.0234 -0.2415)
OKLCHoklch(56.29% 0.243 275.5)
XYZxyz(25.3023, 15.8996, 96.3239)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756FF #FEFF56
analogous
#56AAFF #5756FF #AC56FF
triadic
#5756FF #FF5756 #56FF57
tetradic
#5756FF #FF56AA #FEFF56 #56FFAC
square
#5756FF #FF56AA #FEFF56 #56FFAC
split-complementary
#5756FF #FFAC56 #AAFF56
monochromatic
#0100DB #1A19FF #5756FF #9493FF #D1D0FF

Accessibility & contrast

On white

5.02
#5756FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5756FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756FF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756FF#FFFFFF#000000##FFFFFF
##5756FF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5756ff;
/* rgb */ color: rgb(87, 86, 255);
/* oklch */ color: oklch(56.3% 0.243 275.5);
Tailwind
colors: {
  custom: {
    50: '#9986ff',
    500: '#5756ff',
    950: '#000000',
  },
}
SCSS
$custom: #5756ff;
$custom-light: #9986ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5756ff",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 240.355,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.24263,
    "h": 275.5
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#5756FF
secondary
#F3F3BD
accent
#E600E4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5756FF

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

Preview Lab → · Contrast checker → · Palette generator →

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