#5C79E7#5C79E7

#5C79E7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.169 H 269.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C79E7
RGBrgb(92, 121, 231)
HSLhsl(227, 74%, 63%)
HSVhsv(227, 60%, 91%)
CMYKcmyk(60.2%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.73, 22.65, -59.06)
CIE-LCHlch(53.73, 63.26, 290.98°)
OKLaboklab(60.94% -0.0008 -0.1688)
OKLCHoklch(60.94% 0.169 269.7)
XYZxyz(25.6700, 21.7174, 78.4249)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79E7 #E7CA5C
analogous
#5CBEE7 #5C79E7 #845CE7
triadic
#5C79E7 #E75C79 #79E75C
tetradic
#5C79E7 #E75CBE #E7CA5C #5CE784
square
#5C79E7 #E75CBE #E7CA5C #5CE784
split-complementary
#5C79E7 #E7845C #BEE75C
monochromatic
#1A39AF #274DDF #5C79E7 #91A5EF #C7D1F7

Accessibility & contrast

On white

3.93
#5C79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79E7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79E7#FFFFFF#000000##000000
##5C79E71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c79e7;
/* rgb */ color: rgb(92, 121, 231);
/* oklch */ color: oklch(60.9% 0.169 269.7);
Tailwind
colors: {
  custom: {
    50: '#969fef',
    500: '#5c79e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c79e7;
$custom-light: #969fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79e7",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 227.482,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.16885,
    "h": 269.7
  },
  "luminance": 0.2172
}

Semantic roles & 50–950 ramp

primary
#5C79E7
secondary
#E8DEB7
accent
#AD0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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