#5281CA#5281CA

#5281CA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.3% C 0.123 H 258.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5281CA
RGBrgb(82, 129, 202)
HSLhsl(217, 53%, 56%)
HSVhsv(217, 59%, 79%)
CMYKcmyk(59.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(53.77, 6.21, -42.68)
CIE-LCHlch(53.77, 43.13, 278.28°)
OKLaboklab(60.31% -0.0237 -0.1209)
OKLCHoklch(60.31% 0.123 258.9)
XYZxyz(21.9869, 21.7567, 58.9065)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5281CA #CA9B52
analogous
#52BDCA #5281CA #5F52CA
triadic
#5281CA #CA5281 #81CA52
tetradic
#5281CA #CA52BD #CA9B52 #52CA5F
square
#5281CA #CA52BD #CA9B52 #52CA5F
split-complementary
#5281CA #CA5F52 #BDCA52
monochromatic
#26487C #3463AB #5281CA #81A3D8 #B0C5E7

Accessibility & contrast

On white

3.92
#5281CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5281CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5281CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5281CA#FFFFFF#000000##000000
##5281CA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5281ca;
/* rgb */ color: rgb(82, 129, 202);
/* oklch */ color: oklch(60.3% 0.123 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ca5da',
    500: '#5281ca',
    950: '#000000',
  },
}
SCSS
$custom: #5281ca;
$custom-light: #8ca5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5281ca",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 216.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60313,
    "c": 0.12319,
    "h": 258.9
  },
  "luminance": 0.21759
}

Semantic roles & 50–950 ramp

primary
#5281CA
secondary
#D5C1A3
accent
#A44BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5281CA

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

Preview Lab → · Contrast checker → · Palette generator →

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