#5A76F0#5A76F0

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

Color values

HEX#5A76F0
RGBrgb(90, 118, 240)
HSLhsl(229, 83%, 65%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(62.5%, 50.8%, 0%, 5.9%)
CIE-LABlab(53.41, 27.14, -64.61)
CIE-LCHlch(53.41, 70.08, 292.79°)
OKLaboklab(60.85% 0.001 -0.1852)
OKLCHoklch(60.85% 0.185 270.3)
XYZxyz(26.4178, 21.4195, 85.1634)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76F0 #F0D45A
analogous
#5AC1F0 #5A76F0 #895AF0
triadic
#5A76F0 #F05A76 #76F05A
tetradic
#5A76F0 #F05AC1 #F0D45A #5AF089
square
#5A76F0 #F05AC1 #F0D45A #5AF089
split-complementary
#5A76F0 #F0895A #C1F05A
monochromatic
#1132BE #2247EB #5A76F0 #92A5F5 #CAD3FA

Accessibility & contrast

On white

3.97
#5A76F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5A76F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76F0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76F0#FFFFFF#000000##000000
##5A76F01.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E87F4
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a76f0;
/* rgb */ color: rgb(90, 118, 240);
/* oklch */ color: oklch(60.8% 0.185 270.3);
Tailwind
colors: {
  custom: {
    50: '#969df6',
    500: '#5a76f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a76f0;
$custom-light: #969df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76f0",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 228.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.18524,
    "h": 270.3
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#5A76F0
secondary
#EDE3B9
accent
#B706E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A76F0

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

Preview Lab → · Contrast checker → · Palette generator →

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