#5282CF#5282CF

#5282CF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.8% C 0.129 H 259.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5282CF
RGBrgb(82, 130, 207)
HSLhsl(217, 57%, 57%)
HSVhsv(217, 60%, 81%)
CMYKcmyk(60.4%, 37.2%, 0%, 18.8%)
CIE-LABlab(54.30, 7.28, -44.66)
CIE-LCHlch(54.30, 45.25, 279.25°)
OKLaboklab(60.81% -0.0236 -0.1267)
OKLCHoklch(60.81% 0.129 259.5)
XYZxyz(22.7208, 22.2621, 62.1190)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282CF #CF9F52
analogous
#52C1CF #5282CF #6152CF
triadic
#5282CF #CF5282 #82CF52
tetradic
#5282CF #CF52C1 #CF9F52 #52CF61
square
#5282CF #CF52C1 #CF9F52 #52CF61
split-complementary
#5282CF #CF6152 #C1CF52
monochromatic
#244882 #3163B2 #5282CF #82A5DC #B2C7EA

Accessibility & contrast

On white

3.85
#5282CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5282CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282CF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282CF#FFFFFF#000000##000000
##5282CF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D2
Deuteranopia (green-blind)
#507DCD
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5282cf;
/* rgb */ color: rgb(82, 130, 207);
/* oklch */ color: oklch(60.8% 0.129 259.5);
Tailwind
colors: {
  custom: {
    50: '#8da5de',
    500: '#5282cf',
    950: '#000000',
  },
}
SCSS
$custom: #5282cf;
$custom-light: #8da5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5282cf",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 216.96,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.12887,
    "h": 259.5
  },
  "luminance": 0.22264
}

Semantic roles & 50–950 ramp

primary
#5282CF
secondary
#D8C4A5
accent
#A648E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5282CF

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

Preview Lab → · Contrast checker → · Palette generator →

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