#5756F0#5756F0

#5756F0 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.224 H 276.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5756F0
RGBrgb(87, 86, 240)
HSLhsl(240, 84%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(63.7%, 64.2%, 0%, 5.9%)
CIE-LABlab(45.59, 46.00, -77.30)
CIE-LCHlch(45.59, 89.95, 300.75°)
OKLaboklab(55% 0.0249 -0.2229)
OKLCHoklch(55% 0.224 276.4)
XYZxyz(22.9813, 14.9712, 84.0998)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756F0 #EFF056
analogous
#56A2F0 #5756F0 #A456F0
triadic
#5756F0 #F05756 #56F057
tetradic
#5756F0 #F056A2 #EFF056 #56F0A4
square
#5756F0 #F056A2 #EFF056 #56F0A4
split-complementary
#5756F0 #F0A456 #A2F056
monochromatic
#1211BB #1F1EEB #5756F0 #8F8EF5 #C7C6FA

Accessibility & contrast

On white

5.26
#5756F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5756F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756F0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756F0#FFFFFF#000000##FFFFFF
##5756F01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0065ED
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5756f0;
/* rgb */ color: rgb(87, 86, 240);
/* oklch */ color: oklch(55.0% 0.224 276.4);
Tailwind
colors: {
  custom: {
    50: '#9786f6',
    500: '#5756f0',
    950: '#000000',
  },
}
SCSS
$custom: #5756f0;
$custom-light: #9786f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5756f0",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 240.39,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.22431,
    "h": 276.4
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#5756F0
secondary
#ECECB6
accent
#E005DF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5756F0

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

Preview Lab → · Contrast checker → · Palette generator →

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