#5A80E3#5A80E3

#5A80E3 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.155 H 266.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5A80E3
RGBrgb(90, 128, 227)
HSLhsl(223, 71%, 62%)
HSVhsv(223, 60%, 89%)
CMYKcmyk(60.4%, 43.6%, 0%, 11%)
CIE-LABlab(55.23, 16.69, -54.42)
CIE-LCHlch(55.23, 56.92, 287.05°)
OKLaboklab(61.99% -0.0104 -0.1551)
OKLCHoklch(61.99% 0.156 266.2)
XYZxyz(25.7960, 23.1558, 75.7683)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A80E3 #E3BD5A
analogous
#5AC4E3 #5A80E3 #795AE3
triadic
#5A80E3 #E35A80 #80E35A
tetradic
#5A80E3 #E35AC4 #E3BD5A #5AE379
square
#5A80E3 #E35AC4 #E3BD5A #5AE379
split-complementary
#5A80E3 #E3795A #C4E35A
monochromatic
#1C43A6 #2658DA #5A80E3 #8EA8EC #C3D1F5

Accessibility & contrast

On white

3.73
#5A80E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5A80E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A80E3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A80E3#FFFFFF#000000##000000
##5A80E31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE7
Deuteranopia (green-blind)
#3E7EE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a80e3;
/* rgb */ color: rgb(90, 128, 227);
/* oklch */ color: oklch(62.0% 0.155 266.2);
Tailwind
colors: {
  custom: {
    50: '#94a4ec',
    500: '#5a80e3',
    950: '#000000',
  },
}
SCSS
$custom: #5a80e3;
$custom-light: #94a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a80e3",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 227
  },
  "hsl": {
    "h": 223.358,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.1555,
    "h": 266.2
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

primary
#5A80E3
secondary
#E6D8B3
accent
#9E12D3
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5A80E3

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

Preview Lab → · Contrast checker → · Palette generator →

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