#5755BF#5755BF

#5755BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.162 H 279.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5755BF
RGBrgb(87, 85, 191)
HSLhsl(241, 45%, 54%)
HSVhsv(241, 55%, 75%)
CMYKcmyk(54.5%, 55.5%, 0%, 25.1%)
CIE-LABlab(41.66, 30.82, -55.68)
CIE-LCHlch(41.66, 63.64, 298.97°)
OKLaboklab(50.95% 0.0276 -0.1594)
OKLCHoklch(50.95% 0.162 279.8)
XYZxyz(16.5800, 12.2838, 50.7774)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755BF #BDBF55
analogous
#5588BF #5755BF #8C55BF
triadic
#5755BF #BF5755 #55BF57
tetradic
#5755BF #BF5588 #BDBF55 #55BF8C
square
#5755BF #BF5588 #BDBF55 #55BF8C
split-complementary
#5755BF #BF8C55 #88BF55
monochromatic
#2B2A70 #3D3B9C #5755BF #8381D0 #AFAEE0

Accessibility & contrast

On white

6.07
#5755BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5755BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755BF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755BF#FFFFFF#000000##FFFFFF
##5755BF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#266D82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5755bf;
/* rgb */ color: rgb(87, 85, 191);
/* oklch */ color: oklch(50.9% 0.162 279.8);
Tailwind
colors: {
  custom: {
    50: '#8f85d3',
    500: '#5755bf',
    950: '#000000',
  },
}
SCSS
$custom: #5755bf;
$custom-light: #8f85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5755bf",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 241.132,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.16174,
    "h": 279.8
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#5755BF
secondary
#CECEA1
accent
#D553D3
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5755BF

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

Preview Lab → · Contrast checker → · Palette generator →

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