#5A79F0#5A79F0

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

Color values

HEX#5A79F0
RGBrgb(90, 121, 240)
HSLhsl(228, 83%, 65%)
HSVhsv(228, 63%, 94%)
CMYKcmyk(62.5%, 49.6%, 0%, 5.9%)
CIE-LABlab(54.17, 25.31, -63.37)
CIE-LCHlch(54.17, 68.24, 291.77°)
OKLaboklab(61.43% -0.0018 -0.1816)
OKLCHoklch(61.43% 0.182 269.4)
XYZxyz(26.7767, 22.1373, 85.2830)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79F0 #F0D15A
analogous
#5AC4F0 #5A79F0 #865AF0
triadic
#5A79F0 #F05A79 #79F05A
tetradic
#5A79F0 #F05AC4 #F0D15A #5AF086
square
#5A79F0 #F05AC4 #F0D15A #5AF086
split-complementary
#5A79F0 #F0865A #C4F05A
monochromatic
#1135BE #224BEB #5A79F0 #92A7F5 #CAD4FA

Accessibility & contrast

On white

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

On black

5.43
#5A79F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79F0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79F0#FFFFFF#000000##000000
##5A79F01.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F4
Deuteranopia (green-blind)
#0B7BEE
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a79f0;
/* rgb */ color: rgb(90, 121, 240);
/* oklch */ color: oklch(61.4% 0.182 269.4);
Tailwind
colors: {
  custom: {
    50: '#969ff6',
    500: '#5a79f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a79f0;
$custom-light: #969ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79f0",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 227.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.18158,
    "h": 269.4
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#5A79F0
secondary
#EDE2B9
accent
#B306E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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