#5A79BB#5A79BB

#5A79BB is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.2% C 0.108 H 264.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A79BB
RGBrgb(90, 121, 187)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 52%, 73%)
CMYKcmyk(51.9%, 35.3%, 0%, 26.7%)
CIE-LABlab(51.19, 7.88, -38.14)
CIE-LCHlch(51.19, 38.95, 281.67°)
OKLaboklab(58.18% -0.0109 -0.1076)
OKLCHoklch(58.18% 0.108 264.2)
XYZxyz(20.0205, 19.4348, 49.7004)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A79BB #BB9C5A
analogous
#5AAABB #5A79BB #6C5ABB
triadic
#5A79BB #BB5A79 #79BB5A
tetradic
#5A79BB #BB5AAA #BB9C5A #5ABB6C
square
#5A79BB #BB5AAA #BB9C5A #5ABB6C
split-complementary
#5A79BB #BB6C5A #AABB5A
monochromatic
#2D426D #3F5C99 #5A79BB #859CCD #B1BFDF

Accessibility & contrast

On white

4.30
#5A79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5A79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A79BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A79BB#FFFFFF#000000##000000
##5A79BB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#2C8791
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a79bb;
/* rgb */ color: rgb(90, 121, 187);
/* oklch */ color: oklch(58.2% 0.108 264.2);
Tailwind
colors: {
  custom: {
    50: '#8f9fd0',
    500: '#5a79bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a79bb;
$custom-light: #8f9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a79bb",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 220.825,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.10815,
    "h": 264.2
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#5A79BB
secondary
#CDC0A4
accent
#AA56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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