#5280E4#5280E4

#5280E4 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.160 H 263.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5280E4
RGBrgb(82, 128, 228)
HSLhsl(221, 73%, 61%)
HSVhsv(221, 64%, 89%)
CMYKcmyk(64%, 43.9%, 0%, 10.6%)
CIE-LABlab(54.90, 15.61, -55.53)
CIE-LCHlch(54.90, 57.68, 285.70°)
OKLaboklab(61.64% -0.0173 -0.1586)
OKLCHoklch(61.64% 0.16 263.8)
XYZxyz(25.1975, 22.8313, 76.4627)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5280E4 #E4B652
analogous
#52C9E4 #5280E4 #6D52E4
triadic
#5280E4 #E45280 #80E452
tetradic
#5280E4 #E452C9 #E4B652 #52E46D
square
#5280E4 #E452C9 #E4B652 #52E46D
split-complementary
#5280E4 #E46D52 #C9E452
monochromatic
#1944A2 #225BD7 #5280E4 #87A7EC #BCCEF5

Accessibility & contrast

On white

3.77
#5280E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5280E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5280E4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5280E4#FFFFFF#000000##000000
##5280E41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE8
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5280e4;
/* rgb */ color: rgb(82, 128, 228);
/* oklch */ color: oklch(61.6% 0.160 263.8);
Tailwind
colors: {
  custom: {
    50: '#90a4ed',
    500: '#5280e4',
    950: '#000000',
  },
}
SCSS
$custom: #5280e4;
$custom-light: #90a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5280e4",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 221.096,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.15952,
    "h": 263.8
  },
  "luminance": 0.22834
}

Semantic roles & 50–950 ramp

primary
#5280E4
secondary
#E5D3AD
accent
#9710D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5280E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5280E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva