#5D79CA#5D79CA

#5D79CA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.2% C 0.128 H 268.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5D79CA
RGBrgb(93, 121, 202)
HSLhsl(225, 51%, 58%)
HSVhsv(225, 54%, 79%)
CMYKcmyk(54%, 40.1%, 0%, 20.8%)
CIE-LABlab(52.14, 13.35, -45.23)
CIE-LCHlch(52.14, 47.15, 286.45°)
OKLaboklab(59.21% -0.0045 -0.1282)
OKLCHoklch(59.21% 0.128 268)
XYZxyz(22.0087, 20.2646, 58.6174)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79CA #CAAE5D
analogous
#5DB0CA #5D79CA #775DCA
triadic
#5D79CA #CA5D79 #79CA5D
tetradic
#5D79CA #CA5DB0 #CAAE5D #5DCA77
square
#5D79CA #CA5DB0 #CAAE5D #5DCA77
split-complementary
#5D79CA #CA775D #B0CA5D
monochromatic
#2B4182 #3A58B0 #5D79CA #8B9FD9 #B9C5E8

Accessibility & contrast

On white

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

On black

5.05
#5D79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79CA#FFFFFF#000000##000000
##5D79CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#238B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d79ca;
/* rgb */ color: rgb(93, 121, 202);
/* oklch */ color: oklch(59.2% 0.128 268.0);
Tailwind
colors: {
  custom: {
    50: '#929fda',
    500: '#5d79ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d79ca;
$custom-light: #929fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79ca",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 224.587,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.1283,
    "h": 268
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#5D79CA
secondary
#D7CCAC
accent
#B64EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5D79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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