#5A76EF#5A76EF

#5A76EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.184 H 270.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5A76EF
RGBrgb(90, 118, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 62%, 94%)
CMYKcmyk(62.3%, 50.6%, 0%, 6.3%)
CIE-LABlab(53.34, 26.81, -64.15)
CIE-LCHlch(53.34, 69.53, 292.68°)
OKLaboklab(60.78% 0.0009 -0.1839)
OKLCHoklch(60.78% 0.184 270.3)
XYZxyz(26.2696, 21.3602, 84.3832)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76EF #EFD35A
analogous
#5AC0EF #5A76EF #895AEF
triadic
#5A76EF #EF5A76 #76EF5A
tetradic
#5A76EF #EF5AC0 #EFD35A #5AEF89
square
#5A76EF #EF5AC0 #EFD35A #5AEF89
split-complementary
#5A76EF #EF895A #C0EF5A
monochromatic
#1232BC #2248EA #5A76EF #92A4F4 #CAD3FA

Accessibility & contrast

On white

3.98
#5A76EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5A76EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76EF#FFFFFF#000000##000000
##5A76EF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a76ef;
/* rgb */ color: rgb(90, 118, 239);
/* oklch */ color: oklch(60.8% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#969df5',
    500: '#5a76ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a76ef;
$custom-light: #969df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76ef",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 228.725,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.18391,
    "h": 270.3
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#5A76EF
secondary
#ECE2B9
accent
#B607DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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