#5A76C8#5A76C8

#5A76C8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.130 H 268.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A76C8
RGBrgb(90, 118, 200)
HSLhsl(225, 50%, 57%)
HSVhsv(225, 55%, 78%)
CMYKcmyk(55%, 41%, 0%, 21.6%)
CIE-LABlab(51.04, 13.88, -45.84)
CIE-LCHlch(51.04, 47.90, 286.85°)
OKLaboklab(58.28% -0.0045 -0.1301)
OKLCHoklch(58.28% 0.13 268)
XYZxyz(21.1167, 19.2991, 57.2447)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76C8 #C8AC5A
analogous
#5AADC8 #5A76C8 #755AC8
triadic
#5A76C8 #C85A76 #76C85A
tetradic
#5A76C8 #C85AAD #C8AC5A #5AC875
square
#5A76C8 #C85AAD #C8AC5A #5AC875
split-complementary
#5A76C8 #C8755A #ADC85A
monochromatic
#2A3F7E #3956AC #5A76C8 #889CD7 #B6C2E7

Accessibility & contrast

On white

4.32
#5A76C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5A76C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76C8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76C8#FFFFFF#000000##000000
##5A76C81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#1B8895
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a76c8;
/* rgb */ color: rgb(90, 118, 200);
/* oklch */ color: oklch(58.3% 0.130 268.0);
Tailwind
colors: {
  custom: {
    50: '#909dd9',
    500: '#5a76c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a76c8;
$custom-light: #909dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76c8",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 224.727,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.13019,
    "h": 268
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#5A76C8
secondary
#D5CAA8
accent
#B64EDA
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A76C8

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

Preview Lab → · Contrast checker → · Palette generator →

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