#5D79E3#5D79E3

#5D79E3 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.163 H 269.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D79E3
RGBrgb(93, 121, 227)
HSLhsl(227, 71%, 63%)
HSVhsv(227, 59%, 89%)
CMYKcmyk(59%, 46.7%, 0%, 11%)
CIE-LABlab(53.54, 21.51, -57.11)
CIE-LCHlch(53.54, 61.03, 290.64°)
OKLaboklab(60.74% -0.0004 -0.1631)
OKLCHoklch(60.74% 0.163 269.9)
XYZxyz(25.2121, 21.5459, 75.4883)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79E3 #E3C75D
analogous
#5DBCE3 #5D79E3 #845DE3
triadic
#5D79E3 #E35D79 #79E35D
tetradic
#5D79E3 #E35DBC #E3C75D #5DE384
square
#5D79E3 #E35DBC #E3C75D #5DE384
split-complementary
#5D79E3 #E3845D #BCE35D
monochromatic
#1D3AA8 #294EDA #5D79E3 #91A4EC #C5CFF5

Accessibility & contrast

On white

3.96
#5D79E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5D79E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79E3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79E3#FFFFFF#000000##000000
##5D79E31.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E7
Deuteranopia (green-blind)
#307AE1
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d79e3;
/* rgb */ color: rgb(93, 121, 227);
/* oklch */ color: oklch(60.7% 0.163 269.9);
Tailwind
colors: {
  custom: {
    50: '#969fec',
    500: '#5d79e3',
    950: '#000000',
  },
}
SCSS
$custom: #5d79e3;
$custom-light: #969fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79e3",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 227
  },
  "hsl": {
    "h": 227.463,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.1631,
    "h": 269.9
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#5D79E3
secondary
#E6DCB6
accent
#AB13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D79E3

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

Preview Lab → · Contrast checker → · Palette generator →

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