#5281CF#5281CF

#5281CF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.130 H 260.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5281CF
RGBrgb(82, 129, 207)
HSLhsl(217, 57%, 57%)
HSVhsv(217, 60%, 81%)
CMYKcmyk(60.4%, 37.7%, 0%, 18.8%)
CIE-LABlab(54.02, 7.88, -45.11)
CIE-LCHlch(54.02, 45.79, 279.91°)
OKLaboklab(60.6% -0.0225 -0.128)
OKLCHoklch(60.6% 0.13 260)
XYZxyz(22.5885, 21.9974, 62.0749)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281CF #CFA052
analogous
#52C0CF #5281CF #6252CF
triadic
#5281CF #CF5281 #81CF52
tetradic
#5281CF #CF52C0 #CFA052 #52CF62
square
#5281CF #CF52C0 #CFA052 #52CF62
split-complementary
#5281CF #CF6252 #C0CF52
monochromatic
#244882 #3162B2 #5281CF #82A4DC #B2C7EA

Accessibility & contrast

On white

3.89
#5281CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5281CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281CF#FFFFFF#000000##000000
##5281CF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5281cf;
/* rgb */ color: rgb(82, 129, 207);
/* oklch */ color: oklch(60.6% 0.130 260.0);
Tailwind
colors: {
  custom: {
    50: '#8da5de',
    500: '#5281cf',
    950: '#000000',
  },
}
SCSS
$custom: #5281cf;
$custom-light: #8da5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5281cf",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 217.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.12996,
    "h": 260
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#5281CF
secondary
#D8C5A5
accent
#A748E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5281CF

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

Preview Lab → · Contrast checker → · Palette generator →

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