#5D7DE9#5D7DE9

#5D7DE9 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.9% C 0.166 H 268.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5D7DE9
RGBrgb(93, 125, 233)
HSLhsl(226, 76%, 64%)
HSVhsv(226, 60%, 91%)
CMYKcmyk(60.1%, 46.4%, 0%, 8.6%)
CIE-LABlab(54.94, 21.06, -58.22)
CIE-LCHlch(54.94, 61.91, 289.88°)
OKLaboklab(61.92% -0.0036 -0.1663)
OKLCHoklch(61.92% 0.166 268.8)
XYZxyz(26.5508, 22.8754, 80.0912)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DE9 #E9C95D
analogous
#5DC3E9 #5D7DE9 #835DE9
triadic
#5D7DE9 #E95D7D #7DE95D
tetradic
#5D7DE9 #E95DC3 #E9C95D #5DE983
square
#5D7DE9 #E95DC3 #E9C95D #5DE983
split-complementary
#5D7DE9 #E9835D #C3E95D
monochromatic
#183CB3 #2752E2 #5D7DE9 #93A8F0 #C9D3F8

Accessibility & contrast

On white

3.77
#5D7DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5D7DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DE9
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DE9#FFFFFF#000000##000000
##5D7DE91.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AED
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d7de9;
/* rgb */ color: rgb(93, 125, 233);
/* oklch */ color: oklch(61.9% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#96a2f1',
    500: '#5d7de9',
    950: '#000000',
  },
}
SCSS
$custom: #5d7de9;
$custom-light: #96a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7de9",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 233
  },
  "hsl": {
    "h": 226.286,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.16635,
    "h": 268.8
  },
  "luminance": 0.22878
}

Semantic roles & 50–950 ramp

primary
#5D7DE9
secondary
#E9DEB8
accent
#AA0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5D7DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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