#5758D3#5758D3

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

Color values

HEX#5758D3
RGBrgb(87, 88, 211)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 59%, 83%)
CMYKcmyk(58.8%, 58.3%, 0%, 17.3%)
CIE-LABlab(43.81, 35.44, -63.76)
CIE-LCHlch(43.81, 72.95, 299.07°)
OKLaboklab(52.99% 0.0247 -0.1831)
OKLCHoklch(52.99% 0.185 277.7)
XYZxyz(19.1743, 13.7074, 63.2508)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758D3 #D3D257
analogous
#5796D3 #5758D3 #9457D3
triadic
#5758D3 #D35758 #58D357
tetradic
#5758D3 #D35796 #D3D257 #57D394
square
#5758D3 #D35796 #D3D257 #57D394
split-complementary
#5758D3 #D39457 #96D357
monochromatic
#24258B #3132BC #5758D3 #8788E0 #B8B8EC

Accessibility & contrast

On white

5.61
#5758D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5758D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758D3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758D3#FFFFFF#000000##FFFFFF
##5758D31.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5758d3;
/* rgb */ color: rgb(87, 88, 211);
/* oklch */ color: oklch(53.0% 0.185 277.7);
Tailwind
colors: {
  custom: {
    50: '#9287e1',
    500: '#5758d3',
    950: '#000000',
  },
}
SCSS
$custom: #5758d3;
$custom-light: #9287e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5758d3",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 239.516,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.18478,
    "h": 277.7
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#5758D3
secondary
#DCDBAA
accent
#E046E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5758D3

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

Preview Lab → · Contrast checker → · Palette generator →

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