#5A76DE#5A76DE

#5A76DE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.161 H 269.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A76DE
RGBrgb(90, 118, 222)
HSLhsl(227, 67%, 61%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(59.5%, 46.8%, 0%, 12.9%)
CIE-LABlab(52.29, 21.13, -56.32)
CIE-LCHlch(52.29, 60.15, 290.57°)
OKLaboklab(59.64% -0.0009 -0.1609)
OKLCHoklch(59.64% 0.161 269.7)
XYZxyz(23.8753, 20.4025, 71.7730)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76DE #DEC25A
analogous
#5AB8DE #5A76DE #805ADE
triadic
#5A76DE #DE5A76 #76DE5A
tetradic
#5A76DE #DE5AB8 #DEC25A #5ADE80
square
#5A76DE #DE5AB8 #DEC25A #5ADE80
split-complementary
#5A76DE #DE805A #B8DE5A
monochromatic
#203A9E #2A4DD1 #5A76DE #8DA0E8 #C0CBF2

Accessibility & contrast

On white

4.13
#5A76DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5A76DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76DE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76DE#FFFFFF#000000##000000
##5A76DE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a76de;
/* rgb */ color: rgb(90, 118, 222);
/* oklch */ color: oklch(59.6% 0.161 269.7);
Tailwind
colors: {
  custom: {
    50: '#939de9',
    500: '#5a76de',
    950: '#000000',
  },
}
SCSS
$custom: #5a76de;
$custom-light: #939de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76de",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 227.273,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59643,
    "c": 0.16086,
    "h": 269.7
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#5A76DE
secondary
#E3D8B1
accent
#A817CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A76DE

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

Preview Lab → · Contrast checker → · Palette generator →

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