#5D6BE7#5D6BE7

#5D6BE7 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.186 H 274.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5D6BE7
RGBrgb(93, 107, 231)
HSLhsl(234, 74%, 64%)
HSVhsv(234, 60%, 91%)
CMYKcmyk(59.7%, 53.7%, 0%, 9.4%)
CIE-LABlab(50.23, 31.40, -64.69)
CIE-LCHlch(50.23, 71.91, 295.89°)
OKLaboklab(58.32% 0.0138 -0.1855)
OKLCHoklch(58.32% 0.186 274.3)
XYZxyz(24.1910, 18.6102, 77.9031)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6BE7 #E7D95D
analogous
#5DB0E7 #5D6BE7 #945DE7
triadic
#5D6BE7 #E75D6B #6BE75D
tetradic
#5D6BE7 #E75DB0 #E7D95D #5DE794
square
#5D6BE7 #E75DB0 #E7D95D #5DE794
split-complementary
#5D6BE7 #E7945D #B0E75D
monochromatic
#1A29B0 #283ADF #5D6BE7 #929CEF #C8CCF7

Accessibility & contrast

On white

4.45
#5D6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5D6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6BE7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6BE7#FFFFFF#000000##000000
##5D6BE71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#00889F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d6be7;
/* rgb */ color: rgb(93, 107, 231);
/* oklch */ color: oklch(58.3% 0.186 274.3);
Tailwind
colors: {
  custom: {
    50: '#9795ef',
    500: '#5d6be7',
    950: '#000000',
  },
}
SCSS
$custom: #5d6be7;
$custom-light: #9795ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6be7",
  "rgb": {
    "r": 93,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 233.913,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.18606,
    "h": 274.3
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#5D6BE7
secondary
#E8E3B7
accent
#C20FD6
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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