#5A76CA#5A76CA

#5A76CA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.133 H 268.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5A76CA
RGBrgb(90, 118, 202)
HSLhsl(225, 51%, 57%)
HSVhsv(225, 55%, 79%)
CMYKcmyk(55.4%, 41.6%, 0%, 20.8%)
CIE-LABlab(51.14, 14.54, -46.81)
CIE-LCHlch(51.14, 49.02, 287.25°)
OKLaboklab(58.4% -0.0041 -0.133)
OKLCHoklch(58.4% 0.133 268.2)
XYZxyz(21.3520, 19.3932, 58.4838)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76CA #CAAE5A
analogous
#5AAECA #5A76CA #765ACA
triadic
#5A76CA #CA5A76 #76CA5A
tetradic
#5A76CA #CA5AAE #CAAE5A #5ACA76
square
#5A76CA #CA5AAE #CAAE5A #5ACA76
split-complementary
#5A76CA #CA765A #AECA5A
monochromatic
#293F80 #3856AF #5A76CA #889CD9 #B7C3E8

Accessibility & contrast

On white

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

On black

4.88
#5A76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76CA#FFFFFF#000000##000000
##5A76CA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#188896
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a76ca;
/* rgb */ color: rgb(90, 118, 202);
/* oklch */ color: oklch(58.4% 0.133 268.2);
Tailwind
colors: {
  custom: {
    50: '#919dda',
    500: '#5a76ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a76ca;
$custom-light: #919dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76ca",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 225,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.13301,
    "h": 268.2
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#5A76CA
secondary
#D7CBA9
accent
#B74DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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