#5C79CA#5C79CA

#5C79CA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.129 H 267.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5C79CA
RGBrgb(92, 121, 202)
HSLhsl(224, 51%, 58%)
HSVhsv(224, 54%, 79%)
CMYKcmyk(54.5%, 40.1%, 0%, 20.8%)
CIE-LABlab(52.08, 13.13, -45.32)
CIE-LCHlch(52.08, 47.19, 286.16°)
OKLaboklab(59.15% -0.0055 -0.1285)
OKLCHoklch(59.15% 0.129 267.5)
XYZxyz(21.9081, 20.2127, 58.6126)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79CA #CAAD5C
analogous
#5CB0CA #5C79CA #765CCA
triadic
#5C79CA #CA5C79 #79CA5C
tetradic
#5C79CA #CA5CB0 #CAAD5C #5CCA76
square
#5C79CA #CA5CB0 #CAAD5C #5CCA76
split-complementary
#5C79CA #CA765C #B0CA5C
monochromatic
#2A4181 #3958B0 #5C79CA #8A9FD9 #B8C5E8

Accessibility & contrast

On white

4.16
#5C79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5C79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79CA#FFFFFF#000000##000000
##5C79CA1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CD
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#208B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5c79ca;
/* rgb */ color: rgb(92, 121, 202);
/* oklch */ color: oklch(59.1% 0.129 267.5);
Tailwind
colors: {
  custom: {
    50: '#929fda',
    500: '#5c79ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c79ca;
$custom-light: #929fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79ca",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 224.182,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59145,
    "c": 0.12864,
    "h": 267.5
  },
  "luminance": 0.20214
}

Semantic roles & 50–950 ramp

primary
#5C79CA
secondary
#D7CBAB
accent
#B54DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5C79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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