#5281BB#5281BB

#5281BB is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.5% C 0.103 H 254.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5281BB
RGBrgb(82, 129, 187)
HSLhsl(213, 44%, 53%)
HSVhsv(213, 56%, 73%)
CMYKcmyk(56.1%, 31%, 0%, 26.7%)
CIE-LABlab(53.04, 1.28, -35.27)
CIE-LCHlch(53.04, 35.30, 272.08°)
OKLaboklab(59.5% -0.0277 -0.0993)
OKLCHoklch(59.5% 0.103 254.4)
XYZxyz(20.2964, 21.0805, 50.0035)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281BB #BB8C52
analogous
#52B5BB #5281BB #5852BB
triadic
#5281BB #BB5281 #81BB52
tetradic
#5281BB #BB52B5 #BB8C52 #52BB58
square
#5281BB #BB52B5 #BB8C52 #52BB58
split-complementary
#5281BB #BB5852 #B5BB52
monochromatic
#294669 #3B6395 #5281BB #7EA1CC #AAC1DE

Accessibility & contrast

On white

4.03
#5281BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5281BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281BB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281BB#FFFFFF#000000##000000
##5281BB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BD
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#018E96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5281bb;
/* rgb */ color: rgb(82, 129, 187);
/* oklch */ color: oklch(59.5% 0.103 254.4);
Tailwind
colors: {
  custom: {
    50: '#8aa5cf',
    500: '#5281bb',
    950: '#000000',
  },
}
SCSS
$custom: #5281bb;
$custom-light: #8aa5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5281bb",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 213.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.10313,
    "h": 254.4
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#5281BB
secondary
#CBB79E
accent
#9B54D3
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5281BB

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

Preview Lab → · Contrast checker → · Palette generator →

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