#5C79DF#5C79DF

#5C79DF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.158 H 269.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5C79DF
RGBrgb(92, 121, 223)
HSLhsl(227, 67%, 62%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(58.7%, 45.7%, 0%, 12.5%)
CIE-LABlab(53.25, 20.00, -55.34)
CIE-LCHlch(53.25, 58.84, 289.87°)
OKLaboklab(60.43% -0.0019 -0.1579)
OKLCHoklch(60.43% 0.158 269.3)
XYZxyz(24.5658, 21.2758, 72.6098)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79DF #DFC25C
analogous
#5CBADF #5C79DF #815CDF
triadic
#5C79DF #DF5C79 #79DF5C
tetradic
#5C79DF #DF5CBA #DFC25C #5CDF81
square
#5C79DF #DF5CBA #DFC25C #5CDF81
split-complementary
#5C79DF #DF815C #BADF5C
monochromatic
#203CA1 #2A4FD4 #5C79DF #8FA3E9 #C2CDF3

Accessibility & contrast

On white

4.00
#5C79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5C79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79DF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79DF#FFFFFF#000000##000000
##5C79DF1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#357ADD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c79df;
/* rgb */ color: rgb(92, 121, 223);
/* oklch */ color: oklch(60.4% 0.158 269.3);
Tailwind
colors: {
  custom: {
    50: '#949fe9',
    500: '#5c79df',
    950: '#000000',
  },
}
SCSS
$custom: #5c79df;
$custom-light: #949fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79df",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 226.718,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.15791,
    "h": 269.3
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#5C79DF
secondary
#E4D9B3
accent
#A616CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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