#5D79F4#5D79F4

#5D79F4 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.186 H 270.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5D79F4
RGBrgb(93, 121, 244)
HSLhsl(229, 87%, 66%)
HSVhsv(229, 62%, 96%)
CMYKcmyk(61.9%, 50.4%, 0%, 4.3%)
CIE-LABlab(54.59, 27.15, -64.92)
CIE-LCHlch(54.59, 70.37, 292.70°)
OKLaboklab(61.87% 0.0015 -0.1861)
OKLCHoklch(61.87% 0.186 270.5)
XYZxyz(27.6752, 22.5312, 88.4609)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D79F4 #F4D85D
analogous
#5DC4F4 #5D79F4 #8C5DF4
triadic
#5D79F4 #F45D79 #79F45D
tetradic
#5D79F4 #F45DC4 #F4D85D #5DF48C
square
#5D79F4 #F45DC4 #F4D85D #5DF48C
split-complementary
#5D79F4 #F48C5D #C4F45D
monochromatic
#0E30C9 #244AF0 #5D79F4 #96A8F8 #D0D8FC

Accessibility & contrast

On white

3.81
#5D79F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5D79F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D79F4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D79F4#FFFFFF#000000##000000
##5D79F41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d79f4;
/* rgb */ color: rgb(93, 121, 244);
/* oklch */ color: oklch(61.9% 0.186 270.5);
Tailwind
colors: {
  custom: {
    50: '#989ff8',
    500: '#5d79f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d79f4;
$custom-light: #989ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d79f4",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 228.874,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.18607,
    "h": 270.5
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#5D79F4
secondary
#EFE6BE
accent
#BA02E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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