#5C79F0#5C79F0

#5C79F0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.181 H 270.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5C79F0
RGBrgb(92, 121, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(61.7%, 49.6%, 0%, 5.9%)
CIE-LABlab(54.28, 25.65, -63.19)
CIE-LCHlch(54.28, 68.20, 292.09°)
OKLaboklab(61.54% 0.0002 -0.181)
OKLCHoklch(61.54% 0.181 270.1)
XYZxyz(26.9739, 22.2390, 85.2923)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79F0 #F0D35C
analogous
#5CC3F0 #5C79F0 #895CF0
triadic
#5C79F0 #F05C79 #79F05C
tetradic
#5C79F0 #F05CC3 #F0D35C #5CF089
square
#5C79F0 #F05CC3 #F0D35C #5CF089
split-complementary
#5C79F0 #F0895C #C3F05C
monochromatic
#1234C0 #244BEB #5C79F0 #94A7F5 #CCD5FA

Accessibility & contrast

On white

3.85
#5C79F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5C79F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79F0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79F0#FFFFFF#000000##000000
##5C79F01.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3889F4
Deuteranopia (green-blind)
#107CEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c79f0;
/* rgb */ color: rgb(92, 121, 240);
/* oklch */ color: oklch(61.5% 0.181 270.1);
Tailwind
colors: {
  custom: {
    50: '#979ff6',
    500: '#5c79f0',
    950: '#000000',
  },
}
SCSS
$custom: #5c79f0;
$custom-light: #979ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79f0",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 228.243,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61539,
    "c": 0.181,
    "h": 270.1
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#5C79F0
secondary
#EDE3BB
accent
#B506E0
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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