#5A76CC#5A76CC

#5A76CC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.136 H 268.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5A76CC
RGBrgb(90, 118, 204)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(55.9%, 42.2%, 0%, 20%)
CIE-LABlab(51.25, 15.19, -47.78)
CIE-LCHlch(51.25, 50.13, 287.64°)
OKLaboklab(58.52% -0.0038 -0.1358)
OKLCHoklch(58.52% 0.136 268.4)
XYZxyz(21.5903, 19.4885, 59.7390)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76CC #CCB05A
analogous
#5AAFCC #5A76CC #775ACC
triadic
#5A76CC #CC5A76 #76CC5A
tetradic
#5A76CC #CC5AAF #CCB05A #5ACC77
square
#5A76CC #CC5AAF #CCB05A #5ACC77
split-complementary
#5A76CC #CC775A #AFCC5A
monochromatic
#293F83 #3755B2 #5A76CC #899DDA #B7C4E9

Accessibility & contrast

On white

4.29
#5A76CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5A76CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76CC#FFFFFF#000000##000000
##5A76CC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180CF
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#138997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a76cc;
/* rgb */ color: rgb(90, 118, 204);
/* oklch */ color: oklch(58.5% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#919ddc',
    500: '#5a76cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a76cc;
$custom-light: #919ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76cc",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 225.263,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.13583,
    "h": 268.4
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#5A76CC
secondary
#D8CDAA
accent
#B94CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A76CC

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

Preview Lab → · Contrast checker → · Palette generator →

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