#5287D2#5287D2

#5287D2 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.1% C 0.128 H 257.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5287D2
RGBrgb(82, 135, 210)
HSLhsl(215, 59%, 57%)
HSVhsv(215, 61%, 82%)
CMYKcmyk(61%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.86, 5.29, -43.90)
CIE-LCHlch(55.86, 44.21, 276.87°)
OKLaboklab(62.07% -0.0281 -0.1244)
OKLCHoklch(62.07% 0.128 257.2)
XYZxyz(23.7724, 23.7728, 64.2961)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287D2 #D29D52
analogous
#52C7D2 #5287D2 #5D52D2
triadic
#5287D2 #D25287 #87D252
tetradic
#5287D2 #D252C7 #D29D52 #52D25D
square
#5287D2 #D252C7 #D29D52 #52D25D
split-complementary
#5287D2 #D25D52 #C7D252
monochromatic
#234C87 #3068B7 #5287D2 #83A9DF #B3CAEB

Accessibility & contrast

On white

3.65
#5287D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5287D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287D2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287D2#FFFFFF#000000##000000
##5287D21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD5
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5287d2;
/* rgb */ color: rgb(82, 135, 210);
/* oklch */ color: oklch(62.1% 0.128 257.2);
Tailwind
colors: {
  custom: {
    50: '#8da9e0',
    500: '#5287d2',
    950: '#000000',
  },
}
SCSS
$custom: #5287d2;
$custom-light: #8da9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5287d2",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 215.156,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62073,
    "c": 0.12754,
    "h": 257.2
  },
  "luminance": 0.23775
}

Semantic roles & 50–950 ramp

primary
#5287D2
secondary
#DAC4A6
accent
#A146E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5287D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5287D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva