#5282C8#5282C8

#5282C8 is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.4% C 0.119 H 257.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5282C8
RGBrgb(82, 130, 200)
HSLhsl(216, 52%, 55%)
HSVhsv(216, 59%, 78%)
CMYKcmyk(59%, 35%, 0%, 21.6%)
CIE-LABlab(53.95, 4.95, -41.25)
CIE-LCHlch(53.95, 41.55, 276.84°)
OKLaboklab(60.42% -0.0253 -0.1167)
OKLCHoklch(60.42% 0.119 257.8)
XYZxyz(21.8840, 21.9273, 57.7115)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282C8 #C89852
analogous
#52BDC8 #5282C8 #5D52C8
triadic
#5282C8 #C85282 #82C852
tetradic
#5282C8 #C852BD #C89852 #52C85D
square
#5282C8 #C852BD #C89852 #52C85D
split-complementary
#5282C8 #C85D52 #BDC852
monochromatic
#274879 #3564A8 #5282C8 #80A4D7 #AFC5E6

Accessibility & contrast

On white

3.90
#5282C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5282C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282C8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282C8#FFFFFF#000000##000000
##5282C81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6587CB
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5282c8;
/* rgb */ color: rgb(82, 130, 200);
/* oklch */ color: oklch(60.4% 0.119 257.8);
Tailwind
colors: {
  custom: {
    50: '#8ca6d9',
    500: '#5282c8',
    950: '#000000',
  },
}
SCSS
$custom: #5282c8;
$custom-light: #8ca6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5282c8",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 200
  },
  "hsl": {
    "h": 215.593,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.11944,
    "h": 257.8
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#5282C8
secondary
#D4BFA2
accent
#A14DDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5282C8

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

Preview Lab → · Contrast checker → · Palette generator →

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