#5751DE#5751DE

#5751DE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.208 H 278.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5751DE
RGBrgb(87, 81, 222)
HSLhsl(243, 68%, 59%)
HSVhsv(243, 64%, 87%)
CMYKcmyk(60.8%, 63.5%, 0%, 12.9%)
CIE-LABlab(43.04, 43.18, -71.30)
CIE-LCHlch(43.04, 83.36, 301.20°)
OKLaboklab(52.69% 0.0304 -0.2053)
OKLCHoklch(52.69% 0.208 278.4)
XYZxyz(20.0535, 13.1835, 70.5810)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5751DE #D8DE51
analogous
#5192DE #5751DE #9E51DE
triadic
#5751DE #DE5751 #51DE57
tetradic
#5751DE #DE5192 #D8DE51 #51DE9E
square
#5751DE #DE5192 #D8DE51 #51DE9E
split-complementary
#5751DE #DE9E51 #92DE51
monochromatic
#221D98 #2E27CB #5751DE #8984E8 #BAB8F2

Accessibility & contrast

On white

5.77
#5751DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5751DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5751DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5751DE#FFFFFF#000000##FFFFFF
##5751DE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5751de;
/* rgb */ color: rgb(87, 81, 222);
/* oklch */ color: oklch(52.7% 0.208 278.4);
Tailwind
colors: {
  custom: {
    50: '#9482e9',
    500: '#5751de',
    950: '#000000',
  },
}
SCSS
$custom: #5751de;
$custom-light: #9482e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5751de",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 242.553,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.20757,
    "h": 278.4
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#5751DE
secondary
#DFE1AA
accent
#EB3DE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5751DE

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

Preview Lab → · Contrast checker → · Palette generator →

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