#5A79F4#5A79F4

#5A79F4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.187 H 269.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5A79F4
RGBrgb(90, 121, 244)
HSLhsl(228, 88%, 65%)
HSVhsv(228, 63%, 96%)
CMYKcmyk(63.1%, 50.4%, 0%, 4.3%)
CIE-LABlab(54.43, 26.65, -65.19)
CIE-LCHlch(54.43, 70.43, 292.24°)
OKLaboklab(61.7% -0.0014 -0.1869)
OKLCHoklch(61.7% 0.187 269.6)
XYZxyz(27.3774, 22.3776, 88.4470)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79F4 #F4D55A
analogous
#5AC6F4 #5A79F4 #885AF4
triadic
#5A79F4 #F45A79 #79F45A
tetradic
#5A79F4 #F45AC6 #F4D55A #5AF488
square
#5A79F4 #F45AC6 #F4D55A #5AF488
split-complementary
#5A79F4 #F4885A #C6F45A
monochromatic
#0D32C6 #214AF0 #5A79F4 #93A8F8 #CDD6FC

Accessibility & contrast

On white

3.83
#5A79F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5A79F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79F4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79F4#FFFFFF#000000##000000
##5A79F41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a79f4;
/* rgb */ color: rgb(90, 121, 244);
/* oklch */ color: oklch(61.7% 0.187 269.6);
Tailwind
colors: {
  custom: {
    50: '#979ff8',
    500: '#5a79f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a79f4;
$custom-light: #979ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79f4",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 227.922,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.18692,
    "h": 269.6
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#5A79F4
secondary
#EFE4BB
accent
#B601E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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