#5751DF#5751DF

#5751DF is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.209 H 278.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5751DF
RGBrgb(87, 81, 223)
HSLhsl(243, 69%, 60%)
HSVhsv(243, 64%, 87%)
CMYKcmyk(61%, 63.7%, 0%, 12.5%)
CIE-LABlab(43.12, 43.50, -71.74)
CIE-LCHlch(43.12, 83.90, 301.23°)
OKLaboklab(52.77% 0.0303 -0.2066)
OKLCHoklch(52.77% 0.209 278.3)
XYZxyz(20.1879, 13.2373, 71.2889)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5751DF #D9DF51
analogous
#5192DF #5751DF #9E51DF
triadic
#5751DF #DF5751 #51DF57
tetradic
#5751DF #DF5192 #D9DF51 #51DF9E
square
#5751DF #DF5192 #D9DF51 #51DF9E
split-complementary
#5751DF #DF9E51 #92DF51
monochromatic
#211C99 #2D26CD #5751DF #8985E9 #BBB8F2

Accessibility & contrast

On white

5.76
#5751DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5751DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5751DF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5751DF#FFFFFF#000000##FFFFFF
##5751DF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5751df;
/* rgb */ color: rgb(87, 81, 223);
/* oklch */ color: oklch(52.8% 0.209 278.3);
Tailwind
colors: {
  custom: {
    50: '#9482ea',
    500: '#5751df',
    950: '#000000',
  },
}
SCSS
$custom: #5751df;
$custom-light: #9482ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5751df",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 242.535,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.20882,
    "h": 278.3
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5751DF

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

Preview Lab → · Contrast checker → · Palette generator →

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