#5751BC#5751BC

#5751BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.163 H 281.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5751BC
RGBrgb(87, 81, 188)
HSLhsl(243, 44%, 53%)
HSVhsv(243, 57%, 74%)
CMYKcmyk(53.7%, 56.9%, 0%, 26.3%)
CIE-LABlab(40.48, 32.34, -55.84)
CIE-LCHlch(40.48, 64.53, 300.07°)
OKLaboklab(50% 0.0318 -0.1599)
OKLCHoklch(50% 0.163 281.3)
XYZxyz(15.9472, 11.5410, 48.9545)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5751BC #B6BC51
analogous
#5181BC #5751BC #8C51BC
triadic
#5751BC #BC5751 #51BC57
tetradic
#5751BC #BC5181 #B6BC51 #51BC8C
square
#5751BC #BC5181 #B6BC51 #51BC8C
split-complementary
#5751BC #BC8C51 #81BC51
monochromatic
#2C296A #3F3A96 #5751BC #827DCD #ACA9DE

Accessibility & contrast

On white

6.35
#5751BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5751BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5751BC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5751BC#FFFFFF#000000##FFFFFF
##5751BC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#2A6A7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5751bc;
/* rgb */ color: rgb(87, 81, 188);
/* oklch */ color: oklch(50.0% 0.163 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f82d1',
    500: '#5751bc',
    950: '#000000',
  },
}
SCSS
$custom: #5751bc;
$custom-light: #8f82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5751bc",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 243.364,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.16302,
    "h": 281.3
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#5751BC
secondary
#C9CC9D
accent
#D454CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5751BC

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

Preview Lab → · Contrast checker → · Palette generator →

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