#5A76CF#5A76CF

#5A76CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.140 H 268.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A76CF
RGBrgb(90, 118, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(56.5%, 43%, 0%, 18.8%)
CIE-LABlab(51.42, 16.17, -49.22)
CIE-LCHlch(51.42, 51.81, 288.19°)
OKLaboklab(58.7% -0.0032 -0.14)
OKLCHoklch(58.7% 0.14 268.7)
XYZxyz(21.9536, 19.6338, 61.6522)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76CF #CFB35A
analogous
#5AB0CF #5A76CF #785ACF
triadic
#5A76CF #CF5A76 #76CF5A
tetradic
#5A76CF #CF5AB0 #CFB35A #5ACF78
square
#5A76CF #CF5AB0 #CFB35A #5ACF78
split-complementary
#5A76CF #CF785A #B0CF5A
monochromatic
#273E87 #3554B7 #5A76CF #899DDD #B9C5EB

Accessibility & contrast

On white

4.26
#5A76CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5A76CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76CF#FFFFFF#000000##000000
##5A76CF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#0A8A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a76cf;
/* rgb */ color: rgb(90, 118, 207);
/* oklch */ color: oklch(58.7% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#919dde',
    500: '#5a76cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a76cf;
$custom-light: #919dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76cf",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 225.641,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.14005,
    "h": 268.7
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#5A76CF
secondary
#DACFAB
accent
#BB4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A76CF

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

Preview Lab → · Contrast checker → · Palette generator →

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