#5758F5#5758F5

#5758F5 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.228 H 275.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5758F5
RGBrgb(87, 88, 245)
HSLhsl(240, 89%, 65%)
HSVhsv(240, 64%, 96%)
CMYKcmyk(64.5%, 64.1%, 0%, 3.9%)
CIE-LABlab(46.44, 46.43, -78.73)
CIE-LCHlch(46.44, 91.40, 300.53°)
OKLaboklab(55.74% 0.023 -0.2271)
OKLCHoklch(55.74% 0.228 275.8)
XYZxyz(23.8962, 15.5962, 88.1196)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758F5 #F5F457
analogous
#57A7F5 #5758F5 #A557F5
triadic
#5758F5 #F55758 #58F557
tetradic
#5758F5 #F557A7 #F5F457 #57F5A5
square
#5758F5 #F557A7 #F5F457 #57F5A5
split-complementary
#5758F5 #F5A557 #A7F557
monochromatic
#0C0DC6 #1D1FF2 #5758F5 #9191F8 #CBCBFC

Accessibility & contrast

On white

5.10
#5758F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5758F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758F5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758F5#FFFFFF#000000##FFFFFF
##5758F51.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FA
Deuteranopia (green-blind)
#0067F2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5758f5;
/* rgb */ color: rgb(87, 88, 245);
/* oklch */ color: oklch(55.7% 0.228 275.8);
Tailwind
colors: {
  custom: {
    50: '#9888fa',
    500: '#5758f5',
    950: '#000000',
  },
}
SCSS
$custom: #5758f5;
$custom-light: #9888fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5758f5",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 239.62,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.22824,
    "h": 275.8
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

primary
#5758F5
secondary
#EFEEB9
accent
#E400E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5758F5

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

Preview Lab → · Contrast checker → · Palette generator →

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