#5D7BE6#5D7BE6

#5D7BE6 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.3% C 0.165 H 269.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5D7BE6
RGBrgb(93, 123, 230)
HSLhsl(227, 73%, 63%)
HSVhsv(227, 60%, 90%)
CMYKcmyk(59.6%, 46.5%, 0%, 9.8%)
CIE-LABlab(54.24, 21.28, -57.67)
CIE-LCHlch(54.24, 61.47, 290.26°)
OKLaboklab(61.33% -0.002 -0.1647)
OKLCHoklch(61.33% 0.165 269.3)
XYZxyz(25.8753, 22.2041, 77.7698)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7BE6 #E6C85D
analogous
#5DC0E6 #5D7BE6 #835DE6
triadic
#5D7BE6 #E65D7B #7BE65D
tetradic
#5D7BE6 #E65DC0 #E6C85D #5DE683
square
#5D7BE6 #E65DC0 #E6C85D #5DE683
split-complementary
#5D7BE6 #E6835D #C0E65D
monochromatic
#1B3BAE #2850DE #5D7BE6 #92A6EE #C7D1F6

Accessibility & contrast

On white

3.86
#5D7BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5D7BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7BE6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7BE6#FFFFFF#000000##000000
##5D7BE61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788EA
Deuteranopia (green-blind)
#317CE4
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7be6;
/* rgb */ color: rgb(93, 123, 230);
/* oklch */ color: oklch(61.3% 0.165 269.3);
Tailwind
colors: {
  custom: {
    50: '#96a0ee',
    500: '#5d7be6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7be6;
$custom-light: #96a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7be6",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 230
  },
  "hsl": {
    "h": 226.861,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.16472,
    "h": 269.3
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#5D7BE6
secondary
#E8DDB7
accent
#AA10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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