#5D7BE8#5D7BE8

#5D7BE8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.167 H 269.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5D7BE8
RGBrgb(93, 123, 232)
HSLhsl(227, 75%, 64%)
HSVhsv(227, 60%, 91%)
CMYKcmyk(59.9%, 47%, 0%, 9%)
CIE-LABlab(54.36, 21.95, -58.60)
CIE-LCHlch(54.36, 62.57, 290.53°)
OKLaboklab(61.46% -0.0017 -0.1674)
OKLCHoklch(61.46% 0.167 269.4)
XYZxyz(26.1577, 22.3171, 79.2575)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BE8 #E8CA5D
analogous
#5DC0E8 #5D7BE8 #845DE8
triadic
#5D7BE8 #E85D7B #7BE85D
tetradic
#5D7BE8 #E85DC0 #E8CA5D #5DE884
square
#5D7BE8 #E85DC0 #E8CA5D #5DE884
split-complementary
#5D7BE8 #E8845D #C0E85D
monochromatic
#193AB1 #274FE0 #5D7BE8 #93A7F0 #C8D2F7

Accessibility & contrast

On white

3.84
#5D7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5D7BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BE8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BE8#FFFFFF#000000##000000
##5D7BE81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EC
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7be8;
/* rgb */ color: rgb(93, 123, 232);
/* oklch */ color: oklch(61.5% 0.167 269.4);
Tailwind
colors: {
  custom: {
    50: '#96a0f0',
    500: '#5d7be8',
    950: '#000000',
  },
}
SCSS
$custom: #5d7be8;
$custom-light: #96a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7be8",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 227.05,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.16745,
    "h": 269.4
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#5D7BE8
secondary
#E9DEB8
accent
#AC0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5D7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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