#5752BB#5752BB

#5752BB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.160 H 281.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5752BB
RGBrgb(87, 82, 187)
HSLhsl(243, 44%, 53%)
HSVhsv(243, 56%, 73%)
CMYKcmyk(53.5%, 56.1%, 0%, 26.7%)
CIE-LABlab(40.65, 31.40, -54.98)
CIE-LCHlch(40.65, 63.31, 299.73°)
OKLaboklab(50.11% 0.0307 -0.1573)
OKLCHoklch(50.11% 0.16 281.1)
XYZxyz(15.9146, 11.6477, 48.4137)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5752BB #B6BB52
analogous
#5282BB #5752BB #8B52BB
triadic
#5752BB #BB5752 #52BB57
tetradic
#5752BB #BB5282 #B6BB52 #52BB8B
square
#5752BB #BB5282 #B6BB52 #52BB8B
split-complementary
#5752BB #BB8B52 #82BB52
monochromatic
#2C2969 #3F3B95 #5752BB #827ECC #ACAADE

Accessibility & contrast

On white

6.31
#5752BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5752BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5752BB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5752BB#FFFFFF#000000##FFFFFF
##5752BB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#2B6A7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5752bb;
/* rgb */ color: rgb(87, 82, 187);
/* oklch */ color: oklch(50.1% 0.160 281.1);
Tailwind
colors: {
  custom: {
    50: '#8e83d0',
    500: '#5752bb',
    950: '#000000',
  },
}
SCSS
$custom: #5752bb;
$custom-light: #8e83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5752bb",
  "rgb": {
    "r": 87,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 242.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.16031,
    "h": 281.1
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#5752BB
secondary
#C9CB9E
accent
#D354CD
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5752BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5752BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva