#5A76BC#5A76BC

#5A76BC is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.6% C 0.113 H 266.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A76BC
RGBrgb(90, 118, 188)
HSLhsl(223, 42%, 55%)
HSVhsv(223, 52%, 74%)
CMYKcmyk(52.1%, 37.2%, 0%, 26.3%)
CIE-LABlab(50.41, 10.02, -39.96)
CIE-LCHlch(50.41, 41.20, 284.07°)
OKLaboklab(57.59% -0.0071 -0.1129)
OKLCHoklch(57.59% 0.113 266.4)
XYZxyz(19.7690, 18.7600, 50.1465)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76BC #BCA05A
analogous
#5AA7BC #5A76BC #6F5ABC
triadic
#5A76BC #BC5A76 #76BC5A
tetradic
#5A76BC #BC5AA7 #BCA05A #5ABC6F
square
#5A76BC #BC5AA7 #BCA05A #5ABC6F
split-complementary
#5A76BC #BC6F5A #A7BC5A
monochromatic
#2D406F #3F599A #5A76BC #869ACE #B1BEDF

Accessibility & contrast

On white

4.42
#5A76BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5A76BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76BC#FFFFFF#000000##000000
##5A76BC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#2B8590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a76bc;
/* rgb */ color: rgb(90, 118, 188);
/* oklch */ color: oklch(57.6% 0.113 266.4);
Tailwind
colors: {
  custom: {
    50: '#8f9dd0',
    500: '#5a76bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a76bc;
$custom-light: #8f9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76bc",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 222.857,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.11313,
    "h": 266.4
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#5A76BC
secondary
#CEC2A4
accent
#AF56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A76BC

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

Preview Lab → · Contrast checker → · Palette generator →

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