#5751DD#5751DD

#5751DD is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.206 H 278.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5751DD
RGBrgb(87, 81, 221)
HSLhsl(243, 67%, 59%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(60.6%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.96, 42.87, -70.86)
CIE-LCHlch(42.96, 82.82, 301.17°)
OKLaboklab(52.6% 0.0305 -0.204)
OKLCHoklch(52.6% 0.206 278.5)
XYZxyz(19.9199, 13.1300, 69.8772)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5751DD #D7DD51
analogous
#5191DD #5751DD #9D51DD
triadic
#5751DD #DD5751 #51DD57
tetradic
#5751DD #DD5191 #D7DD51 #51DD9D
square
#5751DD #DD5191 #D7DD51 #51DD9D
split-complementary
#5751DD #DD9D51 #91DD51
monochromatic
#231D96 #2E27C9 #5751DD #8884E7 #BAB7F1

Accessibility & contrast

On white

5.79
#5751DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5751DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5751DD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5751DD#FFFFFF#000000##FFFFFF
##5751DD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5751dd;
/* rgb */ color: rgb(87, 81, 221);
/* oklch */ color: oklch(52.6% 0.206 278.5);
Tailwind
colors: {
  custom: {
    50: '#9482e9',
    500: '#5751dd',
    950: '#000000',
  },
}
SCSS
$custom: #5751dd;
$custom-light: #9482e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5751dd",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 242.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.2063,
    "h": 278.5
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#5751DD
secondary
#DEE0AA
accent
#EA3EE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5751DD

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

Preview Lab → · Contrast checker → · Palette generator →

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