#5D79ED#5D79ED

#5D79ED is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.177 H 270.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5D79ED
RGBrgb(93, 121, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(60.8%, 48.9%, 0%, 7.1%)
CIE-LABlab(54.15, 24.82, -61.73)
CIE-LCHlch(54.15, 66.54, 291.91°)
OKLaboklab(61.39% 0.0008 -0.1767)
OKLCHoklch(61.39% 0.177 270.3)
XYZxyz(26.6325, 22.1141, 82.9693)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79ED #EDD15D
analogous
#5DC1ED #5D79ED #895DED
triadic
#5D79ED #ED5D79 #79ED5D
tetradic
#5D79ED #ED5DC1 #EDD15D #5DED89
square
#5D79ED #ED5DC1 #EDD15D #5DED89
split-complementary
#5D79ED #ED895D #C1ED5D
monochromatic
#1535BB #264BE7 #5D79ED #94A7F3 #CBD4F9

Accessibility & contrast

On white

3.87
#5D79ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5D79ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79ED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79ED#FFFFFF#000000##000000
##5D79ED1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#1C7BEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d79ed;
/* rgb */ color: rgb(93, 121, 237);
/* oklch */ color: oklch(61.4% 0.177 270.3);
Tailwind
colors: {
  custom: {
    50: '#979ff3',
    500: '#5d79ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d79ed;
$custom-light: #979ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79ed",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 228.333,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.17668,
    "h": 270.3
  },
  "luminance": 0.22116
}

Semantic roles & 50–950 ramp

primary
#5D79ED
secondary
#ECE2BA
accent
#B309DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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