#5758BB#5758BB

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

Color values

HEX#5758BB
RGBrgb(87, 88, 187)
HSLhsl(239, 42%, 54%)
HSVhsv(239, 53%, 73%)
CMYKcmyk(53.5%, 52.9%, 0%, 26.7%)
CIE-LABlab(42.14, 27.67, -52.57)
CIE-LCHlch(42.14, 59.41, 297.76°)
OKLaboklab(51.22% 0.0242 -0.1502)
OKLCHoklch(51.22% 0.152 279.1)
XYZxyz(16.3870, 12.5925, 48.5712)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758BB #BBBA57
analogous
#578ABB #5758BB #8857BB
triadic
#5758BB #BB5758 #58BB57
tetradic
#5758BB #BB578A #BBBA57 #57BB88
square
#5758BB #BB578A #BBBA57 #57BB88
split-complementary
#5758BB #BB8857 #8ABB57
monochromatic
#2C2C6C #3D3E97 #5758BB #8383CD #AEAFDE

Accessibility & contrast

On white

5.97
#5758BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5758BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758BB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758BB#FFFFFF#000000##FFFFFF
##5758BB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#1160B9
Tritanopia (blue-blind)
#2A6E81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5758bb;
/* rgb */ color: rgb(87, 88, 187);
/* oklch */ color: oklch(51.2% 0.152 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e87d0',
    500: '#5758bb',
    950: '#000000',
  },
}
SCSS
$custom: #5758bb;
$custom-light: #8e87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5758bb",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 239.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.15214,
    "h": 279.1
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#5758BB
secondary
#CCCCA2
accent
#D156D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5758BB

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

Preview Lab → · Contrast checker → · Palette generator →

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