#5D79CD#5D79CD

#5D79CD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.133 H 268.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D79CD
RGBrgb(93, 121, 205)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 55%, 80%)
CMYKcmyk(54.6%, 41%, 0%, 19.6%)
CIE-LABlab(52.30, 14.32, -46.68)
CIE-LCHlch(52.30, 48.82, 287.05°)
OKLaboklab(59.38% -0.004 -0.1325)
OKLCHoklch(59.38% 0.133 268.3)
XYZxyz(22.3674, 20.4080, 60.5062)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79CD #CDB15D
analogous
#5DB1CD #5D79CD #795DCD
triadic
#5D79CD #CD5D79 #79CD5D
tetradic
#5D79CD #CD5DB1 #CDB15D #5DCD79
square
#5D79CD #CD5DB1 #CDB15D #5DCD79
split-complementary
#5D79CD #CD795D #B1CD5D
monochromatic
#294186 #3857B5 #5D79CD #8CA0DB #BBC6EA

Accessibility & contrast

On white

4.13
#5D79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5D79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79CD#FFFFFF#000000##000000
##5D79CD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#1F8B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d79cd;
/* rgb */ color: rgb(93, 121, 205);
/* oklch */ color: oklch(59.4% 0.133 268.3);
Tailwind
colors: {
  custom: {
    50: '#929fdd',
    500: '#5d79cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d79cd;
$custom-light: #929fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79cd",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 225,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.13253,
    "h": 268.3
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#5D79CD
secondary
#D9CEAD
accent
#B84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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