#5D79EF#5D79EF

#5D79EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.179 H 270.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5D79EF
RGBrgb(93, 121, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(61.1%, 49.4%, 0%, 6.3%)
CIE-LABlab(54.27, 25.49, -62.65)
CIE-LCHlch(54.27, 67.63, 292.14°)
OKLaboklab(61.53% 0.001 -0.1794)
OKLCHoklch(61.53% 0.179 270.3)
XYZxyz(26.9263, 22.2316, 84.5168)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79EF #EFD35D
analogous
#5DC2EF #5D79EF #8A5DEF
triadic
#5D79EF #EF5D79 #79EF5D
tetradic
#5D79EF #EF5DC2 #EFD35D #5DEF8A
square
#5D79EF #EF5DC2 #EFD35D #5DEF8A
split-complementary
#5D79EF #EF8A5D #C2EF5D
monochromatic
#1334BF #254BE9 #5D79EF #95A7F5 #CCD5FA

Accessibility & contrast

On white

3.86
#5D79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5D79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79EF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79EF#FFFFFF#000000##000000
##5D79EF1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#167CED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d79ef;
/* rgb */ color: rgb(93, 121, 239);
/* oklch */ color: oklch(61.5% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#979ff5',
    500: '#5d79ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d79ef;
$custom-light: #979ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79ef",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 228.493,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.17937,
    "h": 270.3
  },
  "luminance": 0.22234
}

Semantic roles & 50–950 ramp

primary
#5D79EF
secondary
#EDE3BB
accent
#B507DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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