#5755CC#5755CC

#5755CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.179 H 278.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5755CC
RGBrgb(87, 85, 204)
HSLhsl(241, 54%, 57%)
HSVhsv(241, 58%, 80%)
CMYKcmyk(57.4%, 58.3%, 0%, 20%)
CIE-LABlab(42.58, 35.01, -61.72)
CIE-LCHlch(42.58, 70.96, 299.56°)
OKLaboklab(51.92% 0.0277 -0.1772)
OKLCHoklch(51.92% 0.179 278.9)
XYZxyz(18.0746, 12.8816, 58.6490)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755CC #CACC55
analogous
#558FCC #5755CC #9355CC
triadic
#5755CC #CC5755 #55CC57
tetradic
#5755CC #CC558F #CACC55 #55CC93
square
#5755CC #CC558F #CACC55 #55CC93
split-complementary
#5755CC #CC9355 #8FCC55
monochromatic
#282680 #3735AF #5755CC #8684DA #B4B3E8

Accessibility & contrast

On white

5.87
#5755CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5755CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755CC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755CC#FFFFFF#000000##FFFFFF
##5755CC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#0F7188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5755cc;
/* rgb */ color: rgb(87, 85, 204);
/* oklch */ color: oklch(51.9% 0.179 278.9);
Tailwind
colors: {
  custom: {
    50: '#9185dc',
    500: '#5755cc',
    950: '#000000',
  },
}
SCSS
$custom: #5755cc;
$custom-light: #9185dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5755cc",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 241.008,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.17931,
    "h": 278.9
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#5755CC
secondary
#D6D7A6
accent
#DD4BDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5755CC

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

Preview Lab → · Contrast checker → · Palette generator →

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