#5A76DF#5A76DF

#5A76DF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.162 H 269.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5A76DF
RGBrgb(90, 118, 223)
HSLhsl(227, 68%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(59.6%, 47.1%, 0%, 12.5%)
CIE-LABlab(52.35, 21.46, -56.79)
CIE-LCHlch(52.35, 60.71, 290.70°)
OKLaboklab(59.71% -0.0008 -0.1622)
OKLCHoklch(59.71% 0.162 269.7)
XYZxyz(24.0097, 20.4563, 72.4809)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76DF #DFC35A
analogous
#5AB9DF #5A76DF #815ADF
triadic
#5A76DF #DF5A76 #76DF5A
tetradic
#5A76DF #DF5AB9 #DFC35A #5ADF81
square
#5A76DF #DF5AB9 #DFC35A #5ADF81
split-complementary
#5A76DF #DF815A #B9DF5A
monochromatic
#1F3AA0 #294DD3 #5A76DF #8DA1E9 #C1CBF3

Accessibility & contrast

On white

4.12
#5A76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5A76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76DF#FFFFFF#000000##000000
##5A76DF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#2C77DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a76df;
/* rgb */ color: rgb(90, 118, 223);
/* oklch */ color: oklch(59.7% 0.162 269.7);
Tailwind
colors: {
  custom: {
    50: '#949de9',
    500: '#5a76df',
    950: '#000000',
  },
}
SCSS
$custom: #5a76df;
$custom-light: #949de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76df",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 227.368,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.16223,
    "h": 269.7
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#5A76DF
secondary
#E3D9B2
accent
#A816CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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