#5D6AE7#5D6AE7

#5D6AE7 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.1% C 0.187 H 274.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D6AE7
RGBrgb(93, 106, 231)
HSLhsl(234, 74%, 64%)
HSVhsv(234, 60%, 91%)
CMYKcmyk(59.7%, 54.1%, 0%, 9.4%)
CIE-LABlab(49.98, 32.01, -65.09)
CIE-LCHlch(49.98, 72.54, 296.19°)
OKLaboklab(58.13% 0.0148 -0.1867)
OKLCHoklch(58.13% 0.187 274.5)
XYZxyz(24.0873, 18.4029, 77.8686)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6AE7 #E7DA5D
analogous
#5DAFE7 #5D6AE7 #955DE7
triadic
#5D6AE7 #E75D6A #6AE75D
tetradic
#5D6AE7 #E75DAF #E7DA5D #5DE795
square
#5D6AE7 #E75DAF #E7DA5D #5DE795
split-complementary
#5D6AE7 #E7955D #AFE75D
monochromatic
#1A28B0 #2839DF #5D6AE7 #929BEF #C8CCF7

Accessibility & contrast

On white

4.49
#5D6AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5D6AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6AE7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6AE7#FFFFFF#000000##000000
##5D6AE71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7DEB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d6ae7;
/* rgb */ color: rgb(93, 106, 231);
/* oklch */ color: oklch(58.1% 0.187 274.5);
Tailwind
colors: {
  custom: {
    50: '#9794ef',
    500: '#5d6ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5d6ae7;
$custom-light: #9794ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6ae7",
  "rgb": {
    "r": 93,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 234.348,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.18732,
    "h": 274.5
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#5D6AE7
secondary
#E8E4B7
accent
#C40FD6
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5D6AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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