#5C79EA#5C79EA

#5C79EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.173 H 269.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5C79EA
RGBrgb(92, 121, 234)
HSLhsl(228, 77%, 64%)
HSVhsv(228, 61%, 92%)
CMYKcmyk(60.7%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.91, 23.65, -60.45)
CIE-LCHlch(53.91, 64.91, 291.37°)
OKLaboklab(61.14% -0.0005 -0.1729)
OKLCHoklch(61.14% 0.173 269.8)
XYZxyz(26.0973, 21.8884, 80.6756)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79EA #EACD5C
analogous
#5CC0EA #5C79EA #865CEA
triadic
#5C79EA #EA5C79 #79EA5C
tetradic
#5C79EA #EA5CC0 #EACD5C #5CEA86
square
#5C79EA #EA5CC0 #EACD5C #5CEA86
split-complementary
#5C79EA #EA865C #C0EA5C
monochromatic
#1737B4 #264CE3 #5C79EA #92A6F1 #C8D2F8

Accessibility & contrast

On white

3.90
#5C79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5C79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79EA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79EA#FFFFFF#000000##000000
##5C79EA1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87EE
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c79ea;
/* rgb */ color: rgb(92, 121, 234);
/* oklch */ color: oklch(61.1% 0.173 269.8);
Tailwind
colors: {
  custom: {
    50: '#969ff1',
    500: '#5c79ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c79ea;
$custom-light: #969ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79ea",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 227.746,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.17292,
    "h": 269.8
  },
  "luminance": 0.21891
}

Semantic roles & 50–950 ramp

primary
#5C79EA
secondary
#EAE0B8
accent
#AF0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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