#5A79F3#5A79F3

#5A79F3 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.186 H 269.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5A79F3
RGBrgb(90, 121, 243)
HSLhsl(228, 86%, 65%)
HSVhsv(228, 63%, 95%)
CMYKcmyk(63%, 50.2%, 0%, 4.7%)
CIE-LABlab(54.36, 26.31, -64.74)
CIE-LCHlch(54.36, 69.88, 292.12°)
OKLaboklab(61.63% -0.0015 -0.1856)
OKLCHoklch(61.63% 0.186 269.5)
XYZxyz(27.2260, 22.3171, 87.6495)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79F3 #F3D45A
analogous
#5AC6F3 #5A79F3 #875AF3
triadic
#5A79F3 #F35A79 #79F35A
tetradic
#5A79F3 #F35AC6 #F3D45A #5AF387
square
#5A79F3 #F35AC6 #F3D45A #5AF387
split-complementary
#5A79F3 #F3875A #C6F35A
monochromatic
#0E33C4 #214BEF #5A79F3 #93A7F7 #CCD6FB

Accessibility & contrast

On white

3.84
#5A79F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5A79F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79F3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79F3#FFFFFF#000000##000000
##5A79F31.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a79f3;
/* rgb */ color: rgb(90, 121, 243);
/* oklch */ color: oklch(61.6% 0.186 269.5);
Tailwind
colors: {
  custom: {
    50: '#979ff8',
    500: '#5a79f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a79f3;
$custom-light: #979ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79f3",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 227.843,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.18559,
    "h": 269.5
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#5A79F3
secondary
#EEE4BB
accent
#B503E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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