#5758CD#5758CD

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

Color values

HEX#5758CD
RGBrgb(87, 88, 205)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(57.6%, 57.1%, 0%, 19.6%)
CIE-LABlab(43.38, 33.49, -61.01)
CIE-LCHlch(43.38, 69.60, 298.77°)
OKLaboklab(52.53% 0.0247 -0.175)
OKLCHoklch(52.53% 0.177 278)
XYZxyz(18.4361, 13.4122, 59.3631)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758CD #CDCC57
analogous
#5793CD #5758CD #9157CD
triadic
#5758CD #CD5758 #58CD57
tetradic
#5758CD #CD5793 #CDCC57 #57CD91
square
#5758CD #CD5793 #CDCC57 #57CD91
split-complementary
#5758CD #CD9157 #93CD57
monochromatic
#272883 #3536B2 #5758CD #8687DB #B5B6E9

Accessibility & contrast

On white

5.70
#5758CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5758CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758CD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758CD#FFFFFF#000000##FFFFFF
##5758CD1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#0A748A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5758cd;
/* rgb */ color: rgb(87, 88, 205);
/* oklch */ color: oklch(52.5% 0.177 278.0);
Tailwind
colors: {
  custom: {
    50: '#9187dd',
    500: '#5758cd',
    950: '#000000',
  },
}
SCSS
$custom: #5758cd;
$custom-light: #9187dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5758cd",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 239.492,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.17678,
    "h": 278
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#5758CD
secondary
#D8D7A8
accent
#DC4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5758CD

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

Preview Lab → · Contrast checker → · Palette generator →

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