#5C79EF#5C79EF

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

Color values

HEX#5C79EF
RGBrgb(92, 121, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 62%, 94%)
CMYKcmyk(61.5%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.22, 25.31, -62.74)
CIE-LCHlch(54.22, 67.65, 291.97°)
OKLaboklab(61.47% 0.0001 -0.1797)
OKLCHoklch(61.47% 0.18 270)
XYZxyz(26.8257, 22.1798, 84.5121)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79EF #EFD25C
analogous
#5CC3EF #5C79EF #885CEF
triadic
#5C79EF #EF5C79 #79EF5C
tetradic
#5C79EF #EF5CC3 #EFD25C #5CEF88
square
#5C79EF #EF5CC3 #EFD25C #5CEF88
split-complementary
#5C79EF #EF885C #C3EF5C
monochromatic
#1334BE #244BEA #5C79EF #94A7F4 #CBD5FA

Accessibility & contrast

On white

3.86
#5C79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5C79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79EF#FFFFFF#000000##000000
##5C79EF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#147BED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c79ef;
/* rgb */ color: rgb(92, 121, 239);
/* oklch */ color: oklch(61.5% 0.180 270.0);
Tailwind
colors: {
  custom: {
    50: '#979ff5',
    500: '#5c79ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c79ef;
$custom-light: #979ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79ef",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 228.163,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61472,
    "c": 0.17966,
    "h": 270
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#5C79EF
secondary
#ECE3BA
accent
#B407DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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