#5758CF#5758CF

#5758CF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.179 H 277.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5758CF
RGBrgb(87, 88, 207)
HSLhsl(240, 56%, 58%)
HSVhsv(240, 58%, 81%)
CMYKcmyk(58%, 57.5%, 0%, 18.8%)
CIE-LABlab(43.52, 34.14, -61.93)
CIE-LCHlch(43.52, 70.72, 298.87°)
OKLaboklab(52.69% 0.0247 -0.1777)
OKLCHoklch(52.69% 0.179 277.9)
XYZxyz(18.6791, 13.5093, 60.6426)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758CF #CFCE57
analogous
#5794CF #5758CF #9257CF
triadic
#5758CF #CF5758 #58CF57
tetradic
#5758CF #CF5794 #CFCE57 #57CF92
square
#5758CF #CF5794 #CFCE57 #57CF92
split-complementary
#5758CF #CF9257 #94CF57
monochromatic
#262785 #3435B5 #5758CF #8787DD #B6B7EA

Accessibility & contrast

On white

5.67
#5758CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5758CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758CF#FFFFFF#000000##FFFFFF
##5758CF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#02748B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5758cf;
/* rgb */ color: rgb(87, 88, 207);
/* oklch */ color: oklch(52.7% 0.179 277.9);
Tailwind
colors: {
  custom: {
    50: '#9187de',
    500: '#5758cf',
    950: '#000000',
  },
}
SCSS
$custom: #5758cf;
$custom-light: #9187de;
$custom-dark: #000000;
JSON
{
  "hex": "#5758cf",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 239.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.17946,
    "h": 277.9
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

primary
#5758CF
secondary
#D9D9A9
accent
#DE49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5758CF

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

Preview Lab → · Contrast checker → · Palette generator →

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