#5D6FE5#5D6FE5

#5D6FE5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.178 H 273.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D6FE5
RGBrgb(93, 111, 229)
HSLhsl(232, 72%, 63%)
HSVhsv(232, 59%, 90%)
CMYKcmyk(59.4%, 51.5%, 0%, 10.2%)
CIE-LABlab(51.10, 28.30, -62.17)
CIE-LCHlch(51.10, 68.30, 294.47°)
OKLaboklab(58.93% 0.0098 -0.1781)
OKLCHoklch(58.93% 0.178 273.2)
XYZxyz(24.3368, 19.3513, 76.5662)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6FE5 #E5D35D
analogous
#5DB3E5 #5D6FE5 #8F5DE5
triadic
#5D6FE5 #E55D6F #6FE55D
tetradic
#5D6FE5 #E55DB3 #E5D35D #5DE58F
square
#5D6FE5 #E55DB3 #E5D35D #5DE58F
split-complementary
#5D6FE5 #E58F5D #B3E55D
monochromatic
#1C2FAC #2840DD #5D6FE5 #929EED #C6CDF6

Accessibility & contrast

On white

4.31
#5D6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5D6FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6FE5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6FE5#FFFFFF#000000##000000
##5D6FE51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80E9
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d6fe5;
/* rgb */ color: rgb(93, 111, 229);
/* oklch */ color: oklch(58.9% 0.178 273.2);
Tailwind
colors: {
  custom: {
    50: '#9698ee',
    500: '#5d6fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5d6fe5;
$custom-light: #9698ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6fe5",
  "rgb": {
    "r": 93,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 232.059,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.17835,
    "h": 273.2
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#5D6FE5
secondary
#E7E1B7
accent
#BB11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5D6FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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