#5281BF#5281BF

#5281BF is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.7% C 0.108 H 255.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5281BF
RGBrgb(82, 129, 191)
HSLhsl(214, 46%, 54%)
HSVhsv(214, 57%, 75%)
CMYKcmyk(57.1%, 32.5%, 0%, 25.1%)
CIE-LABlab(53.23, 2.58, -37.26)
CIE-LCHlch(53.23, 37.35, 273.96°)
OKLaboklab(59.71% -0.0266 -0.1051)
OKLCHoklch(59.71% 0.108 255.8)
XYZxyz(20.7306, 21.2542, 52.2901)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281BF #BF9052
analogous
#52B8BF #5281BF #5952BF
triadic
#5281BF #BF5281 #81BF52
tetradic
#5281BF #BF52B8 #BF9052 #52BF59
square
#5281BF #BF52B8 #BF9052 #52BF59
split-complementary
#5281BF #BF5952 #B8BF52
monochromatic
#29476E #39639B #5281BF #7FA2D0 #ABC2E0

Accessibility & contrast

On white

4.00
#5281BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5281BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281BF#FFFFFF#000000##000000
##5281BF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#5A7ABE
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5281bf;
/* rgb */ color: rgb(82, 129, 191);
/* oklch */ color: oklch(59.7% 0.108 255.8);
Tailwind
colors: {
  custom: {
    50: '#8ba5d2',
    500: '#5281bf',
    950: '#000000',
  },
}
SCSS
$custom: #5281bf;
$custom-light: #8ba5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5281bf",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 214.128,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.10843,
    "h": 255.8
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#5281BF
secondary
#CEBA9F
accent
#9D52D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5281BF

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

Preview Lab → · Contrast checker → · Palette generator →

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