#5D79E9#5D79E9

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

Color values

HEX#5D79E9
RGBrgb(93, 121, 233)
HSLhsl(228, 76%, 64%)
HSVhsv(228, 60%, 91%)
CMYKcmyk(60.1%, 48.1%, 0%, 8.6%)
CIE-LABlab(53.90, 23.50, -59.89)
CIE-LCHlch(53.90, 64.34, 291.42°)
OKLaboklab(61.13% 0.0004 -0.1713)
OKLCHoklch(61.13% 0.171 270.1)
XYZxyz(26.0546, 21.8829, 79.9258)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79E9 #E9CD5D
analogous
#5DBFE9 #5D79E9 #875DE9
triadic
#5D79E9 #E95D79 #79E95D
tetradic
#5D79E9 #E95DBF #E9CD5D #5DE987
square
#5D79E9 #E95DBF #E9CD5D #5DE987
split-complementary
#5D79E9 #E9875D #BFE95D
monochromatic
#1837B3 #274CE2 #5D79E9 #93A6F0 #C9D2F8

Accessibility & contrast

On white

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

On black

5.38
#5D79E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79E9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79E9#FFFFFF#000000##000000
##5D79E91.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087ED
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d79e9;
/* rgb */ color: rgb(93, 121, 233);
/* oklch */ color: oklch(61.1% 0.171 270.1);
Tailwind
colors: {
  custom: {
    50: '#979ff1',
    500: '#5d79e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d79e9;
$custom-light: #979ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79e9",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 233
  },
  "hsl": {
    "h": 228,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.17127,
    "h": 270.1
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#5D79E9
secondary
#E9E0B8
accent
#B00DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D79E9

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

Preview Lab → · Contrast checker → · Palette generator →

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