#5282CE#5282CE

#5282CE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.128 H 259.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5282CE
RGBrgb(82, 130, 206)
HSLhsl(217, 56%, 56%)
HSVhsv(217, 60%, 81%)
CMYKcmyk(60.2%, 36.9%, 0%, 19.2%)
CIE-LABlab(54.25, 6.94, -44.18)
CIE-LCHlch(54.25, 44.72, 278.93°)
OKLaboklab(60.76% -0.0238 -0.1253)
OKLCHoklch(60.76% 0.128 259.2)
XYZxyz(22.5990, 22.2133, 61.4772)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282CE #CE9E52
analogous
#52C0CE #5282CE #6052CE
triadic
#5282CE #CE5282 #82CE52
tetradic
#5282CE #CE52C0 #CE9E52 #52CE60
square
#5282CE #CE52C0 #CE9E52 #52CE60
split-complementary
#5282CE #CE6052 #C0CE52
monochromatic
#254881 #3263B1 #5282CE #82A4DC #B1C7E9

Accessibility & contrast

On white

3.86
#5282CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5282CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282CE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282CE#FFFFFF#000000##000000
##5282CE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D1
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5282ce;
/* rgb */ color: rgb(82, 130, 206);
/* oklch */ color: oklch(60.8% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#8da5dd',
    500: '#5282ce',
    950: '#000000',
  },
}
SCSS
$custom: #5282ce;
$custom-light: #8da5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5282ce",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 216.774,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.12751,
    "h": 259.2
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5282CE

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

Preview Lab → · Contrast checker → · Palette generator →

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