#5758FA#5758FA

#5758FA is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.234 H 275.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5758FA
RGBrgb(87, 88, 250)
HSLhsl(240, 94%, 66%)
HSVhsv(240, 65%, 98%)
CMYKcmyk(65.2%, 64.8%, 0%, 2%)
CIE-LABlab(46.85, 48.04, -80.85)
CIE-LCHlch(46.85, 94.04, 300.72°)
OKLaboklab(56.17% 0.0226 -0.2333)
OKLCHoklch(56.17% 0.234 275.5)
XYZxyz(24.6699, 15.9056, 92.1940)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758FA #FAF957
analogous
#57A9FA #5758FA #A757FA
triadic
#5758FA #FA5758 #58FA57
tetradic
#5758FA #FA57A9 #FAF957 #57FAA7
square
#5758FA #FA57A9 #FAF957 #57FAA7
split-complementary
#5758FA #FAA757 #A9FA57
monochromatic
#0607D0 #1C1DF8 #5758FA #9293FC #CECEFE

Accessibility & contrast

On white

5.02
#5758FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5758FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758FA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758FA#FFFFFF#000000##FFFFFF
##5758FA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0068F7
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5758fa;
/* rgb */ color: rgb(87, 88, 250);
/* oklch */ color: oklch(56.2% 0.234 275.5);
Tailwind
colors: {
  custom: {
    50: '#9888fd',
    500: '#5758fa',
    950: '#000000',
  },
}
SCSS
$custom: #5758fa;
$custom-light: #9888fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5758fa",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 239.632,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.23439,
    "h": 275.5
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#5758FA
secondary
#F1F1BC
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5758FA

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

Preview Lab → · Contrast checker → · Palette generator →

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