#5C79DD#5C79DD

#5C79DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.155 H 269.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5C79DD
RGBrgb(92, 121, 221)
HSLhsl(227, 65%, 61%)
HSVhsv(227, 58%, 87%)
CMYKcmyk(58.4%, 45.2%, 0%, 13.3%)
CIE-LABlab(53.13, 19.34, -54.40)
CIE-LCHlch(53.13, 57.73, 289.57°)
OKLaboklab(60.3% -0.0022 -0.1551)
OKLCHoklch(60.3% 0.155 269.2)
XYZxyz(24.2978, 21.1686, 71.1981)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C79DD #DDC05C
analogous
#5CB9DD #5C79DD #805CDD
triadic
#5C79DD #DD5C79 #79DD5C
tetradic
#5C79DD #DD5CB9 #DDC05C #5CDD80
square
#5C79DD #DD5CB9 #DDC05C #5CDD80
split-complementary
#5C79DD #DD805C #B9DD5C
monochromatic
#213D9E #2B51D0 #5C79DD #8FA3E8 #C1CCF2

Accessibility & contrast

On white

4.01
#5C79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5C79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C79DD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C79DD#FFFFFF#000000##000000
##5C79DD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E1
Deuteranopia (green-blind)
#3879DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c79dd;
/* rgb */ color: rgb(92, 121, 221);
/* oklch */ color: oklch(60.3% 0.155 269.2);
Tailwind
colors: {
  custom: {
    50: '#949fe8',
    500: '#5c79dd',
    950: '#000000',
  },
}
SCSS
$custom: #5c79dd;
$custom-light: #949fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c79dd",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 226.512,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.15516,
    "h": 269.2
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#5C79DD
secondary
#E3D8B2
accent
#A518CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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