#5758E3#5758E3

#5758E3 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.206 H 276.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5758E3
RGBrgb(87, 88, 227)
HSLhsl(240, 71%, 62%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.7%, 61.2%, 0%, 11%)
CIE-LABlab(45.01, 40.63, -70.92)
CIE-LCHlch(45.01, 81.74, 299.81°)
OKLaboklab(54.25% 0.0242 -0.2042)
OKLCHoklch(54.25% 0.206 276.8)
XYZxyz(21.2808, 14.5500, 74.3451)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758E3 #E3E257
analogous
#579EE3 #5758E3 #9C57E3
triadic
#5758E3 #E35758 #58E357
tetradic
#5758E3 #E3579E #E3E257 #57E39C
square
#5758E3 #E3579E #E3E257 #57E39C
split-complementary
#5758E3 #E39C57 #9EE357
monochromatic
#1B1CA4 #2425D9 #5758E3 #8B8CEC #C0C0F4

Accessibility & contrast

On white

5.37
#5758E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5758E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758E3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758E3#FFFFFF#000000##FFFFFF
##5758E31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5758e3;
/* rgb */ color: rgb(87, 88, 227);
/* oklch */ color: oklch(54.3% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#9487ed',
    500: '#5758e3',
    950: '#000000',
  },
}
SCSS
$custom: #5758e3;
$custom-light: #9487ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5758e3",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 239.571,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.20561,
    "h": 276.8
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#5758E3
secondary
#E5E5B1
accent
#D212D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5758E3

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

Preview Lab → · Contrast checker → · Palette generator →

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