#5D79CE#5D79CE

#5D79CE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.134 H 268.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D79CE
RGBrgb(93, 121, 206)
HSLhsl(225, 54%, 59%)
HSVhsv(225, 55%, 81%)
CMYKcmyk(54.9%, 41.3%, 0%, 19.2%)
CIE-LABlab(52.35, 14.64, -47.16)
CIE-LCHlch(52.35, 49.38, 287.25°)
OKLaboklab(59.44% -0.0038 -0.1339)
OKLCHoklch(59.44% 0.134 268.4)
XYZxyz(22.4885, 20.4565, 61.1440)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79CE #CEB25D
analogous
#5DB1CE #5D79CE #795DCE
triadic
#5D79CE #CE5D79 #79CE5D
tetradic
#5D79CE #CE5DB1 #CEB25D #5DCE79
square
#5D79CE #CE5DB1 #CEB25D #5DCE79
split-complementary
#5D79CE #CE795D #B1CE5D
monochromatic
#294088 #3757B7 #5D79CE #8CA0DC #BBC7EA

Accessibility & contrast

On white

4.12
#5D79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5D79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79CE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79CE#FFFFFF#000000##000000
##5D79CE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#1D8C99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d79ce;
/* rgb */ color: rgb(93, 121, 206);
/* oklch */ color: oklch(59.4% 0.134 268.4);
Tailwind
colors: {
  custom: {
    50: '#939fdd',
    500: '#5d79ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d79ce;
$custom-light: #939fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79ce",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 225.133,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.13393,
    "h": 268.4
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#5D79CE
secondary
#DACFAD
accent
#B94BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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