#5755A2#5755A2

#5755A2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.121 H 282.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5755A2
RGBrgb(87, 85, 162)
HSLhsl(242, 31%, 48%)
HSVhsv(242, 48%, 64%)
CMYKcmyk(46.3%, 47.5%, 0%, 36.5%)
CIE-LABlab(39.80, 21.63, -41.58)
CIE-LCHlch(39.80, 46.87, 297.49°)
OKLaboklab(48.95% 0.0254 -0.1179)
OKLCHoklch(48.95% 0.121 282.2)
XYZxyz(13.6986, 11.1312, 35.6022)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755A2 #A0A255
analogous
#5579A2 #5755A2 #7D55A2
triadic
#5755A2 #A25755 #55A257
tetradic
#5755A2 #A25579 #A0A255 #55A27D
square
#5755A2 #A25579 #A0A255 #55A27D
split-complementary
#5755A2 #A27D55 #79A255
monochromatic
#2C2B52 #41407A #5755A2 #7C7BBA #A4A3CF

Accessibility & contrast

On white

6.51
#5755A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5755A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755A2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755A2#FFFFFF#000000##FFFFFF
##5755A21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#3E6574
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5755a2;
/* rgb */ color: rgb(87, 85, 162);
/* oklch */ color: oklch(49.0% 0.121 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b84be',
    500: '#5755a2',
    950: '#000000',
  },
}
SCSS
$custom: #5755a2;
$custom-light: #8b84be;
$custom-dark: #000000;
JSON
{
  "hex": "#5755a2",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 241.558,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.12064,
    "h": 282.2
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#5755A2
secondary
#BBBC97
accent
#C760C5
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5755A2

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

Preview Lab → · Contrast checker → · Palette generator →

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