#5A79EB#5A79EB

#5A79EB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.175 H 269.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5A79EB
RGBrgb(90, 121, 235)
HSLhsl(227, 78%, 64%)
HSVhsv(227, 62%, 92%)
CMYKcmyk(61.7%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.86, 23.63, -61.09)
CIE-LCHlch(53.86, 65.50, 291.15°)
OKLaboklab(61.09% -0.0023 -0.1748)
OKLCHoklch(61.09% 0.175 269.2)
XYZxyz(26.0441, 21.8443, 81.4250)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79EB #EBCC5A
analogous
#5AC2EB #5A79EB #835AEB
triadic
#5A79EB #EB5A79 #79EB5A
tetradic
#5A79EB #EB5AC2 #EBCC5A #5AEB83
square
#5A79EB #EB5AC2 #EBCC5A #5AEB83
split-complementary
#5A79EB #EB835A #C2EB5A
monochromatic
#1638B5 #234DE4 #5A79EB #91A5F2 #C7D2F8

Accessibility & contrast

On white

3.91
#5A79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5A79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79EB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79EB#FFFFFF#000000##000000
##5A79EB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a79eb;
/* rgb */ color: rgb(90, 121, 235);
/* oklch */ color: oklch(61.1% 0.175 269.2);
Tailwind
colors: {
  custom: {
    50: '#959ff2',
    500: '#5a79eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a79eb;
$custom-light: #959ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79eb",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 227.172,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.17486,
    "h": 269.2
  },
  "luminance": 0.21847
}

Semantic roles & 50–950 ramp

primary
#5A79EB
secondary
#EADFB7
accent
#AE0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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