#5758BC#5758BC

#5758BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.154 H 279.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5758BC
RGBrgb(87, 88, 188)
HSLhsl(239, 43%, 54%)
HSVhsv(239, 54%, 74%)
CMYKcmyk(53.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(42.21, 27.99, -53.05)
CIE-LCHlch(42.21, 59.98, 297.82°)
OKLaboklab(51.29% 0.0242 -0.1516)
OKLCHoklch(51.29% 0.154 279.1)
XYZxyz(16.4945, 12.6355, 49.1369)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758BC #BCBB57
analogous
#578BBC #5758BC #8957BC
triadic
#5758BC #BC5758 #58BC57
tetradic
#5758BC #BC578B #BCBB57 #57BC89
square
#5758BC #BC578B #BCBB57 #57BC89
split-complementary
#5758BC #BC8957 #8BBC57
monochromatic
#2C2C6D #3D3E99 #5758BC #8383CD #AFAFDF

Accessibility & contrast

On white

5.95
#5758BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5758BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758BC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758BC#FFFFFF#000000##FFFFFF
##5758BC1.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)
#2068BF
Deuteranopia (green-blind)
#0E60BA
Tritanopia (blue-blind)
#296F81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5758bc;
/* rgb */ color: rgb(87, 88, 188);
/* oklch */ color: oklch(51.3% 0.154 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e87d1',
    500: '#5758bc',
    950: '#000000',
  },
}
SCSS
$custom: #5758bc;
$custom-light: #8e87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5758bc",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 239.406,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.15354,
    "h": 279.1
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#5758BC
secondary
#CDCDA2
accent
#D255D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5758BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5758BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva