#5282CB#5282CB

#5282CB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.6% C 0.123 H 258.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5282CB
RGBrgb(82, 130, 203)
HSLhsl(216, 54%, 56%)
HSVhsv(216, 60%, 80%)
CMYKcmyk(59.6%, 36%, 0%, 20.4%)
CIE-LABlab(54.10, 5.94, -42.72)
CIE-LCHlch(54.10, 43.13, 277.92°)
OKLaboklab(60.59% -0.0245 -0.121)
OKLCHoklch(60.59% 0.123 258.5)
XYZxyz(22.2380, 22.0690, 59.5762)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282CB #CB9B52
analogous
#52BFCB #5282CB #5E52CB
triadic
#5282CB #CB5282 #82CB52
tetradic
#5282CB #CB52BF #CB9B52 #52CB5E
square
#5282CB #CB52BF #CB9B52 #52CB5E
split-complementary
#5282CB #CB5E52 #BFCB52
monochromatic
#26487D #3463AC #5282CB #81A4D9 #B0C6E7

Accessibility & contrast

On white

3.88
#5282CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5282CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282CB#FFFFFF#000000##000000
##5282CB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5282cb;
/* rgb */ color: rgb(82, 130, 203);
/* oklch */ color: oklch(60.6% 0.123 258.5);
Tailwind
colors: {
  custom: {
    50: '#8ca5db',
    500: '#5282cb',
    950: '#000000',
  },
}
SCSS
$custom: #5282cb;
$custom-light: #8ca5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5282cb",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 216.198,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.12347,
    "h": 258.5
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#5282CB
secondary
#D5C2A3
accent
#A34BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5282CB

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

Preview Lab → · Contrast checker → · Palette generator →

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