#5C79ED#5C79ED

#5C79ED is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.177 H 270.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C79ED
RGBrgb(92, 121, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.2%, 48.9%, 0%, 7.1%)
CIE-LABlab(54.09, 24.65, -61.82)
CIE-LCHlch(54.09, 66.56, 291.74°)
OKLaboklab(61.34% -0.0001 -0.177)
OKLCHoklch(61.34% 0.177 270)
XYZxyz(26.5319, 22.0622, 82.9646)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79ED #EDD05C
analogous
#5CC2ED #5C79ED #885CED
triadic
#5C79ED #ED5C79 #79ED5C
tetradic
#5C79ED #ED5CC2 #EDD05C #5CED88
square
#5C79ED #ED5CC2 #EDD05C #5CED88
split-complementary
#5C79ED #ED885C #C2ED5C
monochromatic
#1536BA #254CE7 #5C79ED #93A6F3 #CAD4F9

Accessibility & contrast

On white

3.88
#5C79ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5C79ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79ED
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79ED#FFFFFF#000000##000000
##5C79ED1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#1B7BEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c79ed;
/* rgb */ color: rgb(92, 121, 237);
/* oklch */ color: oklch(61.3% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#979ff3',
    500: '#5c79ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c79ed;
$custom-light: #979ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79ed",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 228,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.17697,
    "h": 270
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#5C79ED
secondary
#EBE1B9
accent
#B209DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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