#5282C2#5282C2

#5282C2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 60.1% C 0.111 H 256.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5282C2
RGBrgb(82, 130, 194)
HSLhsl(214, 48%, 54%)
HSVhsv(214, 58%, 76%)
CMYKcmyk(57.7%, 33%, 0%, 23.9%)
CIE-LABlab(53.66, 2.97, -38.30)
CIE-LCHlch(53.66, 38.42, 274.43°)
OKLaboklab(60.1% -0.0269 -0.1081)
OKLCHoklch(60.1% 0.111 256)
XYZxyz(21.1965, 21.6523, 54.0908)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5282C2 #C29252
analogous
#52BAC2 #5282C2 #5A52C2
triadic
#5282C2 #C25282 #82C252
tetradic
#5282C2 #C252BA #C29252 #52C25A
square
#5282C2 #C252BA #C29252 #52C25A
split-complementary
#5282C2 #C25A52 #BAC252
monochromatic
#284872 #38649F #5282C2 #7FA3D2 #ACC3E2

Accessibility & contrast

On white

3.94
#5282C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5282C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5282C2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5282C2#FFFFFF#000000##000000
##5282C21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6886C5
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5282c2;
/* rgb */ color: rgb(82, 130, 194);
/* oklch */ color: oklch(60.1% 0.111 256.0);
Tailwind
colors: {
  custom: {
    50: '#8ba6d4',
    500: '#5282c2',
    950: '#000000',
  },
}
SCSS
$custom: #5282c2;
$custom-light: #8ba6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5282c2",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 194
  },
  "hsl": {
    "h": 214.286,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.11142,
    "h": 256
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#5282C2
secondary
#D0BBA0
accent
#9E50D7
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #5282C2

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

Preview Lab → · Contrast checker → · Palette generator →

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