#5282CC#5282CC

#5282CC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.6% C 0.125 H 258.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5282CC
RGBrgb(82, 130, 204)
HSLhsl(216, 54%, 56%)
HSVhsv(216, 60%, 80%)
CMYKcmyk(59.8%, 36.3%, 0%, 20%)
CIE-LABlab(54.15, 6.28, -43.21)
CIE-LCHlch(54.15, 43.66, 278.26°)
OKLaboklab(60.64% -0.0243 -0.1224)
OKLCHoklch(60.64% 0.125 258.8)
XYZxyz(22.3576, 22.1168, 60.2058)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282CC #CC9C52
analogous
#52BFCC #5282CC #5F52CC
triadic
#5282CC #CC5282 #82CC52
tetradic
#5282CC #CC52BF #CC9C52 #52CC5F
square
#5282CC #CC52BF #CC9C52 #52CC5F
split-complementary
#5282CC #CC5F52 #BFCC52
monochromatic
#25487E #3363AE #5282CC #81A4DA #B1C6E8

Accessibility & contrast

On white

3.87
#5282CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5282CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282CC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282CC#FFFFFF#000000##000000
##5282CC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5282cc;
/* rgb */ color: rgb(82, 130, 204);
/* oklch */ color: oklch(60.6% 0.125 258.8);
Tailwind
colors: {
  custom: {
    50: '#8ca5dc',
    500: '#5282cc',
    950: '#000000',
  },
}
SCSS
$custom: #5282cc;
$custom-light: #8ca5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5282cc",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 204
  },
  "hsl": {
    "h": 216.393,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.12482,
    "h": 258.8
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#5282CC
secondary
#D6C2A4
accent
#A44ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5282CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5282CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva