#5D7AE7#5D7AE7

#5D7AE7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.167 H 269.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5D7AE7
RGBrgb(93, 122, 231)
HSLhsl(227, 74%, 64%)
HSVhsv(227, 60%, 91%)
CMYKcmyk(59.7%, 47.2%, 0%, 9.4%)
CIE-LABlab(54.04, 22.23, -58.55)
CIE-LCHlch(54.04, 62.63, 290.79°)
OKLaboklab(61.2% -0.0009 -0.1673)
OKLCHoklch(61.2% 0.167 269.7)
XYZxyz(25.8927, 22.0136, 78.4704)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AE7 #E7CA5D
analogous
#5DBFE7 #5D7AE7 #855DE7
triadic
#5D7AE7 #E75D7A #7AE75D
tetradic
#5D7AE7 #E75DBF #E7CA5D #5DE785
square
#5D7AE7 #E75DBF #E7CA5D #5DE785
split-complementary
#5D7AE7 #E7855D #BFE75D
monochromatic
#1A39B0 #284EDF #5D7AE7 #92A6EF #C8D2F7

Accessibility & contrast

On white

3.89
#5D7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5D7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AE7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AE7#FFFFFF#000000##000000
##5D7AE71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#2C7BE5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7ae7;
/* rgb */ color: rgb(93, 122, 231);
/* oklch */ color: oklch(61.2% 0.167 269.7);
Tailwind
colors: {
  custom: {
    50: '#96a0ef',
    500: '#5d7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ae7;
$custom-light: #96a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ae7",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 227.391,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.16732,
    "h": 269.7
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#5D7AE7
secondary
#E8DEB7
accent
#AC0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

#5D7AE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva