#5280C2#5280C2

#5280C2 is a mid, moderate blue. Relative luminance 0.211; OKLCH L 59.7% C 0.113 H 257.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5280C2
RGBrgb(82, 128, 194)
HSLhsl(215, 48%, 54%)
HSVhsv(215, 58%, 76%)
CMYKcmyk(57.7%, 34%, 0%, 23.9%)
CIE-LABlab(53.09, 4.16, -39.20)
CIE-LCHlch(53.09, 39.42, 276.06°)
OKLaboklab(59.65% -0.0246 -0.1108)
OKLCHoklch(59.65% 0.113 257.5)
XYZxyz(20.9330, 21.1255, 54.0030)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5280C2 #C29452
analogous
#52B8C2 #5280C2 #5C52C2
triadic
#5280C2 #C25280 #80C252
tetradic
#5280C2 #C252B8 #C29452 #52C25C
square
#5280C2 #C252B8 #C29452 #52C25C
split-complementary
#5280C2 #C25C52 #B8C252
monochromatic
#284672 #38629F #5280C2 #7FA1D2 #ACC2E2

Accessibility & contrast

On white

4.02
#5280C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5280C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5280C2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5280C2#FFFFFF#000000##000000
##5280C21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6585C5
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5280c2;
/* rgb */ color: rgb(82, 128, 194);
/* oklch */ color: oklch(59.7% 0.113 257.5);
Tailwind
colors: {
  custom: {
    50: '#8ba4d5',
    500: '#5280c2',
    950: '#000000',
  },
}
SCSS
$custom: #5280c2;
$custom-light: #8ba4d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5280c2",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 194
  },
  "hsl": {
    "h": 215.357,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.11347,
    "h": 257.5
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

primary
#5280C2
secondary
#D0BCA0
accent
#A050D7
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #5280C2

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

Preview Lab → · Contrast checker → · Palette generator →

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