#5758CC#5758CC

#5758CC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.175 H 278.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5758CC
RGBrgb(87, 88, 204)
HSLhsl(239, 53%, 57%)
HSVhsv(239, 57%, 80%)
CMYKcmyk(57.4%, 56.9%, 0%, 20%)
CIE-LABlab(43.31, 33.17, -60.55)
CIE-LCHlch(43.31, 69.04, 298.71°)
OKLaboklab(52.46% 0.0247 -0.1737)
OKLCHoklch(52.46% 0.175 278.1)
XYZxyz(18.3158, 13.3640, 58.7294)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758CC #CCCB57
analogous
#5793CC #5758CC #9157CC
triadic
#5758CC #CC5758 #58CC57
tetradic
#5758CC #CC5793 #CCCB57 #57CC91
square
#5758CC #CC5793 #CCCB57 #57CC91
split-complementary
#5758CC #CC9157 #93CC57
monochromatic
#272881 #3637B0 #5758CC #8687DA #B5B5E9

Accessibility & contrast

On white

5.72
#5758CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5758CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758CC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758CC#FFFFFF#000000##FFFFFF
##5758CC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#0E7389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5758cc;
/* rgb */ color: rgb(87, 88, 204);
/* oklch */ color: oklch(52.5% 0.175 278.1);
Tailwind
colors: {
  custom: {
    50: '#9187dc',
    500: '#5758cc',
    950: '#000000',
  },
}
SCSS
$custom: #5758cc;
$custom-light: #9187dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5758cc",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 239.487,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.17544,
    "h": 278.1
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#5758CC
secondary
#D7D7A8
accent
#DC4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5758CC

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

Preview Lab → · Contrast checker → · Palette generator →

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