#5C79EE#5C79EE

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

Color values

HEX#5C79EE
RGBrgb(92, 121, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.3%, 49.2%, 0%, 6.7%)
CIE-LABlab(54.15, 24.98, -62.28)
CIE-LCHlch(54.15, 67.10, 291.86°)
OKLaboklab(61.41% 0 -0.1783)
OKLCHoklch(61.41% 0.178 270)
XYZxyz(26.6784, 22.1208, 83.7362)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79EE #EED15C
analogous
#5CC2EE #5C79EE #885CEE
triadic
#5C79EE #EE5C79 #79EE5C
tetradic
#5C79EE #EE5CC2 #EED15C #5CEE88
square
#5C79EE #EE5CC2 #EED15C #5CEE88
split-complementary
#5C79EE #EE885C #C2EE5C
monochromatic
#1435BC #254BE8 #5C79EE #93A7F4 #CBD4FA

Accessibility & contrast

On white

3.87
#5C79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5C79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79EE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79EE#FFFFFF#000000##000000
##5C79EE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#187BEC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c79ee;
/* rgb */ color: rgb(92, 121, 238);
/* oklch */ color: oklch(61.4% 0.178 270.0);
Tailwind
colors: {
  custom: {
    50: '#979ff4',
    500: '#5c79ee',
    950: '#000000',
  },
}
SCSS
$custom: #5c79ee;
$custom-light: #979ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79ee",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 228.082,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.17832,
    "h": 270
  },
  "luminance": 0.22123
}

Semantic roles & 50–950 ramp

primary
#5C79EE
secondary
#ECE2BA
accent
#B308DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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