#5D79E7#5D79E7

#5D79E7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.169 H 270.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D79E7
RGBrgb(93, 121, 231)
HSLhsl(228, 74%, 64%)
HSVhsv(228, 60%, 91%)
CMYKcmyk(59.7%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.78, 22.84, -58.97)
CIE-LCHlch(53.78, 63.24, 291.17°)
OKLaboklab(61% 0.0001 -0.1685)
OKLCHoklch(61% 0.169 270)
XYZxyz(25.7705, 21.7693, 78.4297)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79E7 #E7CB5D
analogous
#5DBEE7 #5D79E7 #865DE7
triadic
#5D79E7 #E75D79 #79E75D
tetradic
#5D79E7 #E75DBE #E7CB5D #5DE786
square
#5D79E7 #E75DBE #E7CB5D #5DE786
split-complementary
#5D79E7 #E7865D #BEE75D
monochromatic
#1A38B0 #284DDF #5D79E7 #92A5EF #C8D1F7

Accessibility & contrast

On white

3.92
#5D79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5D79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79E7#FFFFFF#000000##000000
##5D79E71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d79e7;
/* rgb */ color: rgb(93, 121, 231);
/* oklch */ color: oklch(61.0% 0.169 270.0);
Tailwind
colors: {
  custom: {
    50: '#969fef',
    500: '#5d79e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d79e7;
$custom-light: #969fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79e7",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 227.826,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.16855,
    "h": 270
  },
  "luminance": 0.21771
}

Semantic roles & 50–950 ramp

primary
#5D79E7
secondary
#E8DEB7
accent
#AE0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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