#5755B2#5755B2

#5755B2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.144 H 280.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5755B2
RGBrgb(87, 85, 178)
HSLhsl(241, 38%, 52%)
HSVhsv(241, 52%, 70%)
CMYKcmyk(51.1%, 52.2%, 0%, 30.2%)
CIE-LABlab(40.79, 26.67, -49.46)
CIE-LCHlch(40.79, 56.19, 298.33°)
OKLaboklab(50.02% 0.027 -0.1411)
OKLCHoklch(50.02% 0.144 280.8)
XYZxyz(15.2124, 11.7367, 43.5747)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755B2 #B0B255
analogous
#5582B2 #5755B2 #8655B2
triadic
#5755B2 #B25755 #55B257
tetradic
#5755B2 #B25582 #B0B255 #55B286
square
#5755B2 #B25582 #B0B255 #55B286
split-complementary
#5755B2 #B28655 #82B255
monochromatic
#2D2C61 #413F8B #5755B2 #817FC5 #AAA9D8

Accessibility & contrast

On white

6.27
#5755B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5755B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755B2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755B2#FFFFFF#000000##FFFFFF
##5755B21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#336A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5755b2;
/* rgb */ color: rgb(87, 85, 178);
/* oklch */ color: oklch(50.0% 0.144 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d85ca',
    500: '#5755b2',
    950: '#000000',
  },
}
SCSS
$custom: #5755b2;
$custom-light: #8d85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5755b2",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 241.29,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.14366,
    "h": 280.8
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#5755B2
secondary
#C5C69D
accent
#CE5ACB
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5755B2

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

Preview Lab → · Contrast checker → · Palette generator →

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