#5D79DC#5D79DC

#5D79DC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.153 H 269.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5D79DC
RGBrgb(93, 121, 220)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 58%, 86%)
CMYKcmyk(57.7%, 45%, 0%, 13.7%)
CIE-LABlab(53.13, 19.21, -53.83)
CIE-LCHlch(53.13, 57.16, 289.64°)
OKLaboklab(60.29% -0.0014 -0.1535)
OKLCHoklch(60.29% 0.153 269.5)
XYZxyz(24.2655, 21.1673, 70.5033)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79DC #DCC05D
analogous
#5DB9DC #5D79DC #815DDC
triadic
#5D79DC #DC5D79 #79DC5D
tetradic
#5D79DC #DC5DB9 #DCC05D #5DDC81
square
#5D79DC #DC5DB9 #DCC05D #5DDC81
split-complementary
#5D79DC #DC815D #B9DC5D
monochromatic
#223D9D #2D51CF #5D79DC #8FA3E7 #C2CCF2

Accessibility & contrast

On white

4.01
#5D79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5D79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79DC#FFFFFF#000000##000000
##5D79DC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#397ADA
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d79dc;
/* rgb */ color: rgb(93, 121, 220);
/* oklch */ color: oklch(60.3% 0.153 269.5);
Tailwind
colors: {
  custom: {
    50: '#959fe7',
    500: '#5d79dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d79dc;
$custom-light: #959fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79dc",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 226.772,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60294,
    "c": 0.15347,
    "h": 269.5
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

primary
#5D79DC
secondary
#E2D8B3
accent
#A519CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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