#5A76CB#5A76CB

#5A76CB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.134 H 268.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A76CB
RGBrgb(90, 118, 203)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(55.7%, 41.9%, 0%, 20.4%)
CIE-LABlab(51.20, 14.86, -47.29)
CIE-LCHlch(51.20, 49.57, 287.45°)
OKLaboklab(58.46% -0.004 -0.1344)
OKLCHoklch(58.46% 0.134 268.3)
XYZxyz(21.4708, 19.4407, 59.1093)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76CB #CBAF5A
analogous
#5AAECB #5A76CB #775ACB
triadic
#5A76CB #CB5A76 #76CB5A
tetradic
#5A76CB #CB5AAE #CBAF5A #5ACB77
square
#5A76CB #CB5AAE #CBAF5A #5ACB77
split-complementary
#5A76CB #CB775A #AECB5A
monochromatic
#293F82 #3855B0 #5A76CB #899DDA #B7C3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A76CB#FFFFFF#000000##000000
##5A76CB1.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)
#527FCE
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#158997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a76cb;
/* rgb */ color: rgb(90, 118, 203);
/* oklch */ color: oklch(58.5% 0.134 268.3);
Tailwind
colors: {
  custom: {
    50: '#919ddb',
    500: '#5a76cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a76cb;
$custom-light: #919ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76cb",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 225.133,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.13442,
    "h": 268.3
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

primary
#5A76CB
secondary
#D7CCAA
accent
#B84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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