#5A76DB#5A76DB

#5A76DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.157 H 269.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5A76DB
RGBrgb(90, 118, 219)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(58.9%, 46.1%, 0%, 14.1%)
CIE-LABlab(52.11, 20.13, -54.91)
CIE-LCHlch(52.11, 58.49, 290.14°)
OKLaboklab(59.45% -0.0013 -0.1567)
OKLCHoklch(59.45% 0.157 269.5)
XYZxyz(23.4768, 20.2431, 69.6742)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76DB #DBBF5A
analogous
#5AB6DB #5A76DB #7E5ADB
triadic
#5A76DB #DB5A76 #76DB5A
tetradic
#5A76DB #DB5AB6 #DBBF5A #5ADB7E
square
#5A76DB #DB5AB6 #DBBF5A #5ADB7E
split-complementary
#5A76DB #DB7E5A #B6DB5A
monochromatic
#213B99 #2C4FCB #5A76DB #8CA0E6 #BEC9F1

Accessibility & contrast

On white

4.16
#5A76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5A76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76DB#FFFFFF#000000##000000
##5A76DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a76db;
/* rgb */ color: rgb(90, 118, 219);
/* oklch */ color: oklch(59.5% 0.157 269.5);
Tailwind
colors: {
  custom: {
    50: '#939de7',
    500: '#5a76db',
    950: '#000000',
  },
}
SCSS
$custom: #5a76db;
$custom-light: #939de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76db",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 226.977,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.15674,
    "h": 269.5
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#5A76DB
secondary
#E1D6B0
accent
#A51ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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