#5A76BF#5A76BF

#5A76BF is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.8% C 0.117 H 266.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5A76BF
RGBrgb(90, 118, 191)
HSLhsl(223, 44%, 55%)
HSVhsv(223, 53%, 75%)
CMYKcmyk(52.9%, 38.2%, 0%, 25.1%)
CIE-LABlab(50.56, 10.98, -41.44)
CIE-LCHlch(50.56, 42.87, 284.83°)
OKLaboklab(57.76% -0.0064 -0.1172)
OKLCHoklch(57.76% 0.117 266.9)
XYZxyz(20.0957, 18.8907, 51.8674)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76BF #BFA35A
analogous
#5AA9BF #5A76BF #705ABF
triadic
#5A76BF #BF5A76 #76BF5A
tetradic
#5A76BF #BF5AA9 #BFA35A #5ABF70
square
#5A76BF #BF5AA9 #BFA35A #5ABF70
split-complementary
#5A76BF #BF705A #A9BF5A
monochromatic
#2C4072 #3D589E #5A76BF #869BD0 #B2BFE1

Accessibility & contrast

On white

4.39
#5A76BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5A76BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76BF#FFFFFF#000000##000000
##5A76BF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#288691
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a76bf;
/* rgb */ color: rgb(90, 118, 191);
/* oklch */ color: oklch(57.8% 0.117 266.9);
Tailwind
colors: {
  custom: {
    50: '#8f9dd2',
    500: '#5a76bf',
    950: '#000000',
  },
}
SCSS
$custom: #5a76bf;
$custom-light: #8f9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76bf",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 223.366,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.11742,
    "h": 266.9
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#5A76BF
secondary
#D0C4A5
accent
#B054D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A76BF

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

Preview Lab → · Contrast checker → · Palette generator →

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