#5281BD#5281BD

#5281BD is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.6% C 0.106 H 255.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5281BD
RGBrgb(82, 129, 189)
HSLhsl(214, 45%, 53%)
HSVhsv(214, 57%, 74%)
CMYKcmyk(56.6%, 31.7%, 0%, 25.9%)
CIE-LABlab(53.13, 1.93, -36.27)
CIE-LCHlch(53.13, 36.32, 273.05°)
OKLaboklab(59.61% -0.0271 -0.1022)
OKLCHoklch(59.61% 0.106 255.1)
XYZxyz(20.5120, 21.1668, 51.1389)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281BD #BD8E52
analogous
#52B6BD #5281BD #5852BD
triadic
#5281BD #BD5281 #81BD52
tetradic
#5281BD #BD52B6 #BD8E52 #52BD58
square
#5281BD #BD52B6 #BD8E52 #52BD58
split-complementary
#5281BD #BD5852 #B6BD52
monochromatic
#29466C #3A6398 #5281BD #7EA1CE #ABC2DF

Accessibility & contrast

On white

4.01
#5281BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5281BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281BD#FFFFFF#000000##000000
##5281BD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C0
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5281bd;
/* rgb */ color: rgb(82, 129, 189);
/* oklch */ color: oklch(59.6% 0.106 255.1);
Tailwind
colors: {
  custom: {
    50: '#8aa5d1',
    500: '#5281bd',
    950: '#000000',
  },
}
SCSS
$custom: #5281bd;
$custom-light: #8aa5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5281bd",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 213.645,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59608,
    "c": 0.10577,
    "h": 255.1
  },
  "luminance": 0.21168
}

Semantic roles & 50–950 ramp

primary
#5281BD
secondary
#CCB89E
accent
#9C53D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5281BD

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

Preview Lab → · Contrast checker → · Palette generator →

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