#5D7BE7#5D7BE7

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

Color values

HEX#5D7BE7
RGBrgb(93, 123, 231)
HSLhsl(227, 74%, 64%)
HSVhsv(227, 60%, 91%)
CMYKcmyk(59.7%, 46.8%, 0%, 9.4%)
CIE-LABlab(54.30, 21.62, -58.13)
CIE-LCHlch(54.30, 62.02, 290.40°)
OKLaboklab(61.39% -0.0019 -0.1661)
OKLCHoklch(61.39% 0.166 269.4)
XYZxyz(26.0161, 22.2604, 78.5115)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BE7 #E7C95D
analogous
#5DC0E7 #5D7BE7 #845DE7
triadic
#5D7BE7 #E75D7B #7BE75D
tetradic
#5D7BE7 #E75DC0 #E7C95D #5DE784
square
#5D7BE7 #E75DC0 #E7C95D #5DE784
split-complementary
#5D7BE7 #E7845D #C0E75D
monochromatic
#1A3BB0 #2850DF #5D7BE7 #92A6EF #C8D2F7

Accessibility & contrast

On white

3.85
#5D7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5D7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BE7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BE7#FFFFFF#000000##000000
##5D7BE71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#2F7CE5
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7be7;
/* rgb */ color: rgb(93, 123, 231);
/* oklch */ color: oklch(61.4% 0.166 269.4);
Tailwind
colors: {
  custom: {
    50: '#96a0ef',
    500: '#5d7be7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7be7;
$custom-light: #96a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7be7",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 226.957,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.16608,
    "h": 269.4
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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