#5758BF#5758BF

#5758BF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.158 H 278.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5758BF
RGBrgb(87, 88, 191)
HSLhsl(239, 45%, 55%)
HSVhsv(239, 54%, 75%)
CMYKcmyk(54.5%, 53.9%, 0%, 25.1%)
CIE-LABlab(42.41, 28.96, -54.47)
CIE-LCHlch(42.41, 61.69, 298.00°)
OKLaboklab(51.5% 0.0244 -0.1558)
OKLCHoklch(51.5% 0.158 278.9)
XYZxyz(16.8212, 12.7662, 50.8579)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758BF #BFBE57
analogous
#578CBF #5758BF #8A57BF
triadic
#5758BF #BF5758 #58BF57
tetradic
#5758BF #BF578C #BFBE57 #57BF8A
square
#5758BF #BF578C #BFBE57 #57BF8A
split-complementary
#5758BF #BF8A57 #8CBF57
monochromatic
#2B2C71 #3C3D9D #5758BF #8384D0 #B0B0E1

Accessibility & contrast

On white

5.91
#5758BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5758BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758BF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758BF#FFFFFF#000000##FFFFFF
##5758BF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#0160BD
Tritanopia (blue-blind)
#266F83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5758bf;
/* rgb */ color: rgb(87, 88, 191);
/* oklch */ color: oklch(51.5% 0.158 278.9);
Tailwind
colors: {
  custom: {
    50: '#8f87d3',
    500: '#5758bf',
    950: '#000000',
  },
}
SCSS
$custom: #5758bf;
$custom-light: #8f87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5758bf",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 239.423,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.15771,
    "h": 278.9
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#5758BF
secondary
#CFCEA3
accent
#D353D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5758BF

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

Preview Lab → · Contrast checker → · Palette generator →

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