#5280E2#5280E2

#5280E2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.157 H 263.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5280E2
RGBrgb(82, 128, 226)
HSLhsl(221, 71%, 60%)
HSVhsv(221, 64%, 89%)
CMYKcmyk(63.7%, 43.4%, 0%, 11.4%)
CIE-LABlab(54.78, 14.92, -54.60)
CIE-LCHlch(54.78, 56.60, 285.29°)
OKLaboklab(61.52% -0.0176 -0.1558)
OKLCHoklch(61.52% 0.157 263.5)
XYZxyz(24.9215, 22.7209, 75.0090)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5280E2 #E2B452
analogous
#52C8E2 #5280E2 #6C52E2
triadic
#5280E2 #E25280 #80E252
tetradic
#5280E2 #E252C8 #E2B452 #52E26C
square
#5280E2 #E252C8 #E2B452 #52E26C
split-complementary
#5280E2 #E26C52 #C8E252
monochromatic
#1B459F #235CD3 #5280E2 #86A6EB #BBCDF4

Accessibility & contrast

On white

3.79
#5280E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5280E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5280E2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5280E2#FFFFFF#000000##000000
##5280E21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#3B7DE0
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5280e2;
/* rgb */ color: rgb(82, 128, 226);
/* oklch */ color: oklch(61.5% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#90a4ec',
    500: '#5280e2',
    950: '#000000',
  },
}
SCSS
$custom: #5280e2;
$custom-light: #90a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5280e2",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 220.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61519,
    "c": 0.15683,
    "h": 263.5
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

primary
#5280E2
secondary
#E3D2AC
accent
#9612D3
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5280E2

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

Preview Lab → · Contrast checker → · Palette generator →

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