#5D7CEB#5D7CEB

#5D7CEB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.170 H 269.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5D7CEB
RGBrgb(93, 124, 235)
HSLhsl(227, 78%, 64%)
HSVhsv(227, 60%, 92%)
CMYKcmyk(60.4%, 47.2%, 0%, 7.8%)
CIE-LABlab(54.80, 22.33, -59.57)
CIE-LCHlch(54.80, 63.61, 290.55°)
OKLaboklab(61.85% -0.0023 -0.1703)
OKLCHoklch(61.85% 0.17 269.2)
XYZxyz(26.7122, 22.7384, 81.5624)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CEB #EBCC5D
analogous
#5DC3EB #5D7CEB #855DEB
triadic
#5D7CEB #EB5D7C #7CEB5D
tetradic
#5D7CEB #EB5DC3 #EBCC5D #5DEB85
square
#5D7CEB #EB5DC3 #EBCC5D #5DEB85
split-complementary
#5D7CEB #EB855D #C3EB5D
monochromatic
#173AB7 #2750E4 #5D7CEB #93A8F2 #CAD4F8

Accessibility & contrast

On white

3.79
#5D7CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5D7CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CEB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CEB#FFFFFF#000000##000000
##5D7CEB1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7ceb;
/* rgb */ color: rgb(93, 124, 235);
/* oklch */ color: oklch(61.9% 0.170 269.2);
Tailwind
colors: {
  custom: {
    50: '#97a1f2',
    500: '#5d7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ceb;
$custom-light: #97a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ceb",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 226.901,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.17029,
    "h": 269.2
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#5D7CEB
secondary
#EBE0B9
accent
#AD0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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