#5751DB#5751DB

#5751DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.204 H 278.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5751DB
RGBrgb(87, 81, 219)
HSLhsl(243, 66%, 59%)
HSVhsv(243, 63%, 86%)
CMYKcmyk(60.3%, 63%, 0%, 14.1%)
CIE-LABlab(42.80, 42.23, -69.98)
CIE-LCHlch(42.80, 81.73, 301.11°)
OKLaboklab(52.44% 0.0306 -0.2014)
OKLCHoklch(52.44% 0.204 278.6)
XYZxyz(19.6550, 13.0241, 68.4823)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5751DB #D5DB51
analogous
#5190DB #5751DB #9C51DB
triadic
#5751DB #DB5751 #51DB57
tetradic
#5751DB #DB5190 #D5DB51 #51DB9C
square
#5751DB #DB5190 #D5DB51 #51DB9C
split-complementary
#5751DB #DB9C51 #90DB51
monochromatic
#241E93 #3029C6 #5751DB #8884E5 #B9B6F0

Accessibility & contrast

On white

5.82
#5751DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5751DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5751DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5751DB#FFFFFF#000000##FFFFFF
##5751DB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5751db;
/* rgb */ color: rgb(87, 81, 219);
/* oklch */ color: oklch(52.4% 0.204 278.6);
Tailwind
colors: {
  custom: {
    50: '#9382e7',
    500: '#5751db',
    950: '#000000',
  },
}
SCSS
$custom: #5751db;
$custom-light: #9382e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5751db",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 242.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.20377,
    "h": 278.6
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#5751DB
secondary
#DDDFA9
accent
#E93FE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5751DB

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

Preview Lab → · Contrast checker → · Palette generator →

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