#5758CA#5758CA

#5758CA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.173 H 278.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5758CA
RGBrgb(87, 88, 202)
HSLhsl(239, 52%, 57%)
HSVhsv(239, 57%, 79%)
CMYKcmyk(56.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(43.17, 32.52, -59.63)
CIE-LCHlch(43.17, 67.92, 298.61°)
OKLaboklab(52.31% 0.0247 -0.171)
OKLCHoklch(52.31% 0.173 278.2)
XYZxyz(18.0775, 13.2687, 57.4742)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758CA #CAC957
analogous
#5792CA #5758CA #9057CA
triadic
#5758CA #CA5758 #58CA57
tetradic
#5758CA #CA5792 #CAC957 #57CA90
square
#5758CA #CA5792 #CAC957 #57CA90
split-complementary
#5758CA #CA9057 #92CA57
monochromatic
#28297F #3738AD #5758CA #8686D9 #B4B4E7

Accessibility & contrast

On white

5.75
#5758CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5758CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758CA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758CA#FFFFFF#000000##FFFFFF
##5758CA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#137388
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5758ca;
/* rgb */ color: rgb(87, 88, 202);
/* oklch */ color: oklch(52.3% 0.173 278.2);
Tailwind
colors: {
  custom: {
    50: '#9087db',
    500: '#5758ca',
    950: '#000000',
  },
}
SCSS
$custom: #5758ca;
$custom-light: #9087db;
$custom-dark: #000000;
JSON
{
  "hex": "#5758ca",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 239.478,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.17275,
    "h": 278.2
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#5758CA
secondary
#D6D6A7
accent
#DA4CDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5758CA

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

Preview Lab → · Contrast checker → · Palette generator →

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