#5D79F6#5D79F6

#5D79F6 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.189 H 270.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D79F6
RGBrgb(93, 121, 246)
HSLhsl(229, 89%, 66%)
HSVhsv(229, 62%, 96%)
CMYKcmyk(62.2%, 50.8%, 0%, 3.5%)
CIE-LABlab(54.71, 27.82, -65.83)
CIE-LCHlch(54.71, 71.46, 292.91°)
OKLaboklab(62% 0.0017 -0.1887)
OKLCHoklch(62% 0.189 270.5)
XYZxyz(27.9805, 22.6533, 90.0689)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79F6 #F6DA5D
analogous
#5DC5F6 #5D79F6 #8E5DF6
triadic
#5D79F6 #F65D79 #79F65D
tetradic
#5D79F6 #F65DC5 #F6DA5D #5DF68E
square
#5D79F6 #F65DC5 #F6DA5D #5DF68E
split-complementary
#5D79F6 #F68E5D #C5F65D
monochromatic
#0B2FCD #2349F3 #5D79F6 #97A9F9 #D1D9FC

Accessibility & contrast

On white

3.80
#5D79F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5D79F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79F6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79F6#FFFFFF#000000##000000
##5D79F61.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AFA
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d79f6;
/* rgb */ color: rgb(93, 121, 246);
/* oklch */ color: oklch(62.0% 0.189 270.5);
Tailwind
colors: {
  custom: {
    50: '#999ffa',
    500: '#5d79f6',
    950: '#000000',
  },
}
SCSS
$custom: #5d79f6;
$custom-light: #999ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79f6",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 229.02,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62003,
    "c": 0.18873,
    "h": 270.5
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#5D79F6
secondary
#F0E7BF
accent
#BC00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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