#5D7AE8#5D7AE8

#5D7AE8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.169 H 269.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D7AE8
RGBrgb(93, 122, 232)
HSLhsl(227, 75%, 64%)
HSVhsv(227, 60%, 91%)
CMYKcmyk(59.9%, 47.4%, 0%, 9%)
CIE-LABlab(54.10, 22.56, -59.01)
CIE-LCHlch(54.10, 63.18, 290.92°)
OKLaboklab(61.26% -0.0007 -0.1687)
OKLCHoklch(61.26% 0.169 269.7)
XYZxyz(26.0343, 22.0703, 79.2163)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7AE8 #E8CB5D
analogous
#5DBFE8 #5D7AE8 #855DE8
triadic
#5D7AE8 #E85D7A #7AE85D
tetradic
#5D7AE8 #E85DBF #E8CB5D #5DE885
square
#5D7AE8 #E85DBF #E8CB5D #5DE885
split-complementary
#5D7AE8 #E8855D #BFE85D
monochromatic
#1939B1 #274EE0 #5D7AE8 #93A6F0 #C8D2F7

Accessibility & contrast

On white

3.88
#5D7AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5D7AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7AE8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7AE8#FFFFFF#000000##000000
##5D7AE81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4388EC
Deuteranopia (green-blind)
#2B7BE6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7ae8;
/* rgb */ color: rgb(93, 122, 232);
/* oklch */ color: oklch(61.3% 0.169 269.7);
Tailwind
colors: {
  custom: {
    50: '#96a0f0',
    500: '#5d7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ae8;
$custom-light: #96a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ae8",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 227.482,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.16868,
    "h": 269.7
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#5D7AE8
secondary
#E9DFB8
accent
#AD0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5D7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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