#5D79CF#5D79CF

#5D79CF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.135 H 268.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5D79CF
RGBrgb(93, 121, 207)
HSLhsl(225, 54%, 59%)
HSVhsv(225, 55%, 81%)
CMYKcmyk(55.1%, 41.5%, 0%, 18.8%)
CIE-LABlab(52.40, 14.96, -47.64)
CIE-LCHlch(52.40, 49.94, 287.44°)
OKLaboklab(59.5% -0.0036 -0.1353)
OKLCHoklch(59.5% 0.135 268.5)
XYZxyz(22.6103, 20.5052, 61.7858)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79CF #CFB35D
analogous
#5DB2CF #5D79CF #7A5DCF
triadic
#5D79CF #CF5D79 #79CF5D
tetradic
#5D79CF #CF5DB2 #CFB35D #5DCF7A
square
#5D79CF #CF5DB2 #CFB35D #5DCF7A
split-complementary
#5D79CF #CF7A5D #B2CF5D
monochromatic
#294089 #3756B8 #5D79CF #8CA0DD #BBC7EB

Accessibility & contrast

On white

4.12
#5D79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5D79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79CF#FFFFFF#000000##000000
##5D79CF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D2
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#1B8C9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d79cf;
/* rgb */ color: rgb(93, 121, 207);
/* oklch */ color: oklch(59.5% 0.135 268.5);
Tailwind
colors: {
  custom: {
    50: '#939fde',
    500: '#5d79cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d79cf;
$custom-light: #939fde;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79cf",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 225.263,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.13535,
    "h": 268.5
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#5D79CF
secondary
#DACFAD
accent
#B94ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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