#5A79EE#5A79EE

#5A79EE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.179 H 269.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5A79EE
RGBrgb(90, 121, 238)
HSLhsl(227, 81%, 64%)
HSVhsv(227, 62%, 93%)
CMYKcmyk(62.2%, 49.2%, 0%, 6.7%)
CIE-LABlab(54.05, 24.64, -62.46)
CIE-LCHlch(54.05, 67.14, 291.53°)
OKLaboklab(61.29% -0.002 -0.1789)
OKLCHoklch(61.29% 0.179 269.4)
XYZxyz(26.4812, 22.0191, 83.7269)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79EE #EECF5A
analogous
#5AC3EE #5A79EE #855AEE
triadic
#5A79EE #EE5A79 #79EE5A
tetradic
#5A79EE #EE5AC3 #EECF5A #5AEE85
square
#5A79EE #EE5AC3 #EECF5A #5AEE85
split-complementary
#5A79EE #EE855A #C3EE5A
monochromatic
#1336BA #234CE8 #5A79EE #91A6F4 #C9D3F9

Accessibility & contrast

On white

3.89
#5A79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5A79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79EE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79EE#FFFFFF#000000##000000
##5A79EE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#147BEC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a79ee;
/* rgb */ color: rgb(90, 121, 238);
/* oklch */ color: oklch(61.3% 0.179 269.4);
Tailwind
colors: {
  custom: {
    50: '#969ff4',
    500: '#5a79ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a79ee;
$custom-light: #969ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79ee",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 227.432,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.17889,
    "h": 269.4
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#5A79EE
secondary
#ECE1B8
accent
#B108DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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