#5281CE#5281CE

#5281CE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.5% C 0.129 H 259.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5281CE
RGBrgb(82, 129, 206)
HSLhsl(217, 56%, 56%)
HSVhsv(217, 60%, 81%)
CMYKcmyk(60.2%, 37.4%, 0%, 19.2%)
CIE-LABlab(53.97, 7.54, -44.62)
CIE-LCHlch(53.97, 45.26, 279.60°)
OKLaboklab(60.54% -0.0227 -0.1266)
OKLCHoklch(60.54% 0.129 259.8)
XYZxyz(22.4666, 21.9486, 61.4331)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281CE #CE9F52
analogous
#52BFCE #5281CE #6152CE
triadic
#5281CE #CE5281 #81CE52
tetradic
#5281CE #CE52BF #CE9F52 #52CE61
square
#5281CE #CE52BF #CE9F52 #52CE61
split-complementary
#5281CE #CE6152 #BFCE52
monochromatic
#254881 #3262B1 #5281CE #82A4DC #B1C6E9

Accessibility & contrast

On white

3.90
#5281CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5281CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281CE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281CE#FFFFFF#000000##000000
##5281CE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5281ce;
/* rgb */ color: rgb(82, 129, 206);
/* oklch */ color: oklch(60.5% 0.129 259.8);
Tailwind
colors: {
  custom: {
    50: '#8da5dd',
    500: '#5281ce',
    950: '#000000',
  },
}
SCSS
$custom: #5281ce;
$custom-light: #8da5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5281ce",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 217.258,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.12861,
    "h": 259.8
  },
  "luminance": 0.21951
}

Semantic roles & 50–950 ramp

primary
#5281CE
secondary
#D7C4A4
accent
#A649DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5281CE

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

Preview Lab → · Contrast checker → · Palette generator →

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