#5A76F1#5A76F1

#5A76F1 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.187 H 270.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A76F1
RGBrgb(90, 118, 241)
HSLhsl(229, 84%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(62.7%, 51%, 0%, 5.5%)
CIE-LABlab(53.47, 27.48, -65.06)
CIE-LCHlch(53.47, 70.63, 292.90°)
OKLaboklab(60.92% 0.0011 -0.1866)
OKLCHoklch(60.92% 0.187 270.3)
XYZxyz(26.5667, 21.4791, 85.9479)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76F1 #F1D55A
analogous
#5AC2F1 #5A76F1 #895AF1
triadic
#5A76F1 #F15A76 #76F15A
tetradic
#5A76F1 #F15AC2 #F1D55A #5AF189
square
#5A76F1 #F15AC2 #F1D55A #5AF189
split-complementary
#5A76F1 #F1895A #C2F15A
monochromatic
#1031C0 #2247EC #5A76F1 #92A5F6 #CBD4FB

Accessibility & contrast

On white

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

On black

5.30
#5A76F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76F1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76F1#FFFFFF#000000##000000
##5A76F11.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F5
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a76f1;
/* rgb */ color: rgb(90, 118, 241);
/* oklch */ color: oklch(60.9% 0.187 270.3);
Tailwind
colors: {
  custom: {
    50: '#969df6',
    500: '#5a76f1',
    950: '#000000',
  },
}
SCSS
$custom: #5a76f1;
$custom-light: #969df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76f1",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 241
  },
  "hsl": {
    "h": 228.874,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.18658,
    "h": 270.3
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#5A76F1
secondary
#EDE4BA
accent
#B805E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A76F1

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

Preview Lab → · Contrast checker → · Palette generator →

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