#5D7BE0#5D7BE0

#5D7BE0 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.157 H 269.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D7BE0
RGBrgb(93, 123, 224)
HSLhsl(226, 68%, 62%)
HSVhsv(226, 58%, 88%)
CMYKcmyk(58.5%, 45.1%, 0%, 12.2%)
CIE-LABlab(53.89, 19.30, -54.87)
CIE-LCHlch(53.89, 58.16, 289.38°)
OKLaboklab(60.95% -0.0028 -0.1565)
OKLCHoklch(60.95% 0.157 269)
XYZxyz(25.0472, 21.8729, 73.4085)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BE0 #E0C25D
analogous
#5DBCE0 #5D7BE0 #815DE0
triadic
#5D7BE0 #E05D7B #7BE05D
tetradic
#5D7BE0 #E05DBC #E0C25D #5DE081
square
#5D7BE0 #E05DBC #E0C25D #5DE081
split-complementary
#5D7BE0 #E0815D #BCE05D
monochromatic
#1F3EA3 #2A51D6 #5D7BE0 #90A5EA #C4CFF4

Accessibility & contrast

On white

3.91
#5D7BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5D7BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BE0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BE0#FFFFFF#000000##000000
##5D7BE01.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C87E4
Deuteranopia (green-blind)
#397BDE
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7be0;
/* rgb */ color: rgb(93, 123, 224);
/* oklch */ color: oklch(60.9% 0.157 269.0);
Tailwind
colors: {
  custom: {
    50: '#95a0ea',
    500: '#5d7be0',
    950: '#000000',
  },
}
SCSS
$custom: #5d7be0;
$custom-light: #95a0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7be0",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 224
  },
  "hsl": {
    "h": 226.26,
    "s": 67.876,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.15651,
    "h": 269
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#5D7BE0
secondary
#E4D9B4
accent
#A516D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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