#5A76BB#5A76BB

#5A76BB is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.5% C 0.112 H 266.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5A76BB
RGBrgb(90, 118, 187)
HSLhsl(223, 42%, 54%)
HSVhsv(223, 52%, 73%)
CMYKcmyk(51.9%, 36.9%, 0%, 26.7%)
CIE-LABlab(50.35, 9.70, -39.46)
CIE-LCHlch(50.35, 40.64, 283.81°)
OKLaboklab(57.53% -0.0073 -0.1115)
OKLCHoklch(57.53% 0.112 266.2)
XYZxyz(19.6616, 18.7170, 49.5808)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76BB #BB9F5A
analogous
#5AA7BB #5A76BB #6F5ABB
triadic
#5A76BB #BB5A76 #76BB5A
tetradic
#5A76BB #BB5AA7 #BB9F5A #5ABB6F
square
#5A76BB #BB5AA7 #BB9F5A #5ABB6F
split-complementary
#5A76BB #BB6F5A #A7BB5A
monochromatic
#2D406D #3F5999 #5A76BB #859ACD #B1BEDF

Accessibility & contrast

On white

4.43
#5A76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5A76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76BB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76BB#FFFFFF#000000##000000
##5A76BB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#2C858F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a76bb;
/* rgb */ color: rgb(90, 118, 187);
/* oklch */ color: oklch(57.5% 0.112 266.2);
Tailwind
colors: {
  custom: {
    50: '#8f9dd0',
    500: '#5a76bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a76bb;
$custom-light: #8f9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76bb",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 222.68,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.11171,
    "h": 266.2
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#5A76BB
secondary
#CDC1A4
accent
#AE56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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