#5751E0#5751E0

#5751E0 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.210 H 278.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5751E0
RGBrgb(87, 81, 224)
HSLhsl(243, 70%, 60%)
HSVhsv(243, 64%, 88%)
CMYKcmyk(61.2%, 63.8%, 0%, 12.2%)
CIE-LABlab(43.20, 43.82, -72.18)
CIE-LCHlch(43.20, 84.44, 301.26°)
OKLaboklab(52.85% 0.0302 -0.2079)
OKLCHoklch(52.85% 0.21 278.3)
XYZxyz(20.3231, 13.2914, 72.0011)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5751E0 #DAE051
analogous
#5193E0 #5751E0 #9E51E0
triadic
#5751E0 #E05751 #51E057
tetradic
#5751E0 #E05193 #DAE051 #51E09E
square
#5751E0 #E05193 #DAE051 #51E09E
split-complementary
#5751E0 #E09E51 #93E051
monochromatic
#211C9B #2C25CF #5751E0 #8985E9 #BBB9F3

Accessibility & contrast

On white

5.74
#5751E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5751E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5751E0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5751E0#FFFFFF#000000##FFFFFF
##5751E01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5751e0;
/* rgb */ color: rgb(87, 81, 224);
/* oklch */ color: oklch(52.9% 0.210 278.3);
Tailwind
colors: {
  custom: {
    50: '#9482eb',
    500: '#5751e0',
    950: '#000000',
  },
}
SCSS
$custom: #5751e0;
$custom-light: #9482eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5751e0",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 242.517,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.21009,
    "h": 278.3
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#5751E0
secondary
#E0E2AB
accent
#ED3BE5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5751E0

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

Preview Lab → · Contrast checker → · Palette generator →

#5751E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva