#5755C7#5755C7

#5755C7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.173 H 279.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5755C7
RGBrgb(87, 85, 199)
HSLhsl(241, 50%, 56%)
HSVhsv(241, 57%, 78%)
CMYKcmyk(56.3%, 57.3%, 0%, 22%)
CIE-LABlab(42.22, 33.40, -59.42)
CIE-LCHlch(42.22, 68.16, 299.34°)
OKLaboklab(51.54% 0.0277 -0.1704)
OKLCHoklch(51.54% 0.173 279.2)
XYZxyz(17.4845, 12.6456, 55.5413)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755C7 #C5C755
analogous
#558CC7 #5755C7 #9055C7
triadic
#5755C7 #C75755 #55C757
tetradic
#5755C7 #C7558C #C5C755 #55C790
square
#5755C7 #C7558C #C5C755 #55C790
split-complementary
#5755C7 #C79055 #8CC755
monochromatic
#29287A #3937A8 #5755C7 #8483D6 #B2B1E5

Accessibility & contrast

On white

5.95
#5755C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5755C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755C7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755C7#FFFFFF#000000##FFFFFF
##5755C71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#1A7086
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5755c7;
/* rgb */ color: rgb(87, 85, 199);
/* oklch */ color: oklch(51.5% 0.173 279.2);
Tailwind
colors: {
  custom: {
    50: '#9085d9',
    500: '#5755c7',
    950: '#000000',
  },
}
SCSS
$custom: #5755c7;
$custom-light: #9085d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5755c7",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 241.053,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.17261,
    "h": 279.2
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#5755C7
secondary
#D3D4A4
accent
#DA4ED7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5755C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5755C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva