#5A76F3#5A76F3

#5A76F3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.1% C 0.189 H 270.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A76F3
RGBrgb(90, 118, 243)
HSLhsl(229, 86%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(63%, 51.4%, 0%, 4.7%)
CIE-LABlab(53.60, 28.15, -65.97)
CIE-LCHlch(53.60, 71.72, 293.11°)
OKLaboklab(61.06% 0.0013 -0.1892)
OKLCHoklch(61.06% 0.189 270.4)
XYZxyz(26.8671, 21.5992, 87.5299)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76F3 #F3D75A
analogous
#5AC2F3 #5A76F3 #8B5AF3
triadic
#5A76F3 #F35A76 #76F35A
tetradic
#5A76F3 #F35AC2 #F3D75A #5AF38B
square
#5A76F3 #F35AC2 #F3D75A #5AF38B
split-complementary
#5A76F3 #F38B5A #C2F35A
monochromatic
#0E30C4 #2147EF #5A76F3 #93A5F7 #CCD5FB

Accessibility & contrast

On white

3.95
#5A76F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5A76F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76F3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76F3#FFFFFF#000000##000000
##5A76F31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a76f3;
/* rgb */ color: rgb(90, 118, 243);
/* oklch */ color: oklch(61.1% 0.189 270.4);
Tailwind
colors: {
  custom: {
    50: '#979df8',
    500: '#5a76f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a76f3;
$custom-light: #979df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76f3",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 243
  },
  "hsl": {
    "h": 229.02,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.18924,
    "h": 270.4
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

primary
#5A76F3
secondary
#EEE5BB
accent
#BA03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A76F3

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

Preview Lab → · Contrast checker → · Palette generator →

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