#5281C8#5281C8

#5281C8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.2% C 0.120 H 258.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5281C8
RGBrgb(82, 129, 200)
HSLhsl(216, 52%, 55%)
HSVhsv(216, 59%, 78%)
CMYKcmyk(59%, 35.5%, 0%, 21.6%)
CIE-LABlab(53.67, 5.55, -41.70)
CIE-LCHlch(53.67, 42.07, 277.58°)
OKLaboklab(60.2% -0.0242 -0.118)
OKLCHoklch(60.2% 0.121 258.4)
XYZxyz(21.7516, 21.6626, 57.6674)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281C8 #C89952
analogous
#52BCC8 #5281C8 #5E52C8
triadic
#5281C8 #C85281 #81C852
tetradic
#5281C8 #C852BC #C89952 #52C85E
square
#5281C8 #C852BC #C89952 #52C85E
split-complementary
#5281C8 #C85E52 #BCC852
monochromatic
#274779 #3563A8 #5281C8 #80A3D7 #AFC5E6

Accessibility & contrast

On white

3.94
#5281C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5281C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281C8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281C8#FFFFFF#000000##000000
##5281C81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#547BC7
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5281c8;
/* rgb */ color: rgb(82, 129, 200);
/* oklch */ color: oklch(60.2% 0.120 258.4);
Tailwind
colors: {
  custom: {
    50: '#8ca5d9',
    500: '#5281c8',
    950: '#000000',
  },
}
SCSS
$custom: #5281c8;
$custom-light: #8ca5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5281c8",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 216.102,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60201,
    "c": 0.1205,
    "h": 258.4
  },
  "luminance": 0.21664
}

Semantic roles & 50–950 ramp

primary
#5281C8
secondary
#D4C0A2
accent
#A24DDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5281C8

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

Preview Lab → · Contrast checker → · Palette generator →

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