#5758D2#5758D2

#5758D2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.183 H 277.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5758D2
RGBrgb(87, 88, 210)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.6%, 58.1%, 0%, 17.6%)
CIE-LABlab(43.74, 35.12, -63.30)
CIE-LCHlch(43.74, 72.39, 299.02°)
OKLaboklab(52.91% 0.0247 -0.1818)
OKLCHoklch(52.91% 0.183 277.7)
XYZxyz(19.0493, 13.6574, 62.5926)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758D2 #D2D157
analogous
#5795D2 #5758D2 #9357D2
triadic
#5758D2 #D25758 #58D257
tetradic
#5758D2 #D25795 #D2D157 #57D293
square
#5758D2 #D25795 #D2D157 #57D293
split-complementary
#5758D2 #D29357 #95D257
monochromatic
#25268A #3233BA #5758D2 #8788DF #B8B8EC

Accessibility & contrast

On white

5.63
#5758D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5758D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758D2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758D2#FFFFFF#000000##FFFFFF
##5758D21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5758d2;
/* rgb */ color: rgb(87, 88, 210);
/* oklch */ color: oklch(52.9% 0.183 277.7);
Tailwind
colors: {
  custom: {
    50: '#9287e1',
    500: '#5758d2',
    950: '#000000',
  },
}
SCSS
$custom: #5758d2;
$custom-light: #9287e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5758d2",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 239.512,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.18345,
    "h": 277.7
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#5758D2
secondary
#DBDAAA
accent
#E047E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5758D2

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

Preview Lab → · Contrast checker → · Palette generator →

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