#5D79E8#5D79E8

#5D79E8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.170 H 270.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D79E8
RGBrgb(93, 121, 232)
HSLhsl(228, 75%, 64%)
HSVhsv(228, 60%, 91%)
CMYKcmyk(59.9%, 47.8%, 0%, 9%)
CIE-LABlab(53.84, 23.17, -59.43)
CIE-LCHlch(53.84, 63.79, 291.30°)
OKLaboklab(61.06% 0.0003 -0.1699)
OKLCHoklch(61.06% 0.17 270.1)
XYZxyz(25.9122, 21.8260, 79.1756)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79E8 #E8CC5D
analogous
#5DBEE8 #5D79E8 #865DE8
triadic
#5D79E8 #E85D79 #79E85D
tetradic
#5D79E8 #E85DBE #E8CC5D #5DE886
square
#5D79E8 #E85DBE #E8CC5D #5DE886
split-complementary
#5D79E8 #E8865D #BEE85D
monochromatic
#1938B1 #274DE0 #5D79E8 #93A5F0 #C8D2F7

Accessibility & contrast

On white

3.91
#5D79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5D79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79E8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79E8#FFFFFF#000000##000000
##5D79E81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d79e8;
/* rgb */ color: rgb(93, 121, 232);
/* oklch */ color: oklch(61.1% 0.170 270.1);
Tailwind
colors: {
  custom: {
    50: '#969ff0',
    500: '#5d79e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d79e8;
$custom-light: #969ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79e8",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 227.914,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.16991,
    "h": 270.1
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#5D79E8
secondary
#E9DFB8
accent
#AF0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5D79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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