#5286D2#5286D2

#5286D2 is a mid, vivid blue. Relative luminance 0.235; OKLCH L 61.9% C 0.129 H 257.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5286D2
RGBrgb(82, 134, 210)
HSLhsl(216, 59%, 57%)
HSVhsv(216, 61%, 82%)
CMYKcmyk(61%, 36.2%, 0%, 17.6%)
CIE-LABlab(55.58, 5.88, -44.34)
CIE-LCHlch(55.58, 44.73, 277.56°)
OKLaboklab(61.86% -0.0271 -0.1257)
OKLCHoklch(61.86% 0.129 257.8)
XYZxyz(23.6335, 23.4950, 64.2498)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5286D2 #D29E52
analogous
#52C6D2 #5286D2 #5E52D2
triadic
#5286D2 #D25286 #86D252
tetradic
#5286D2 #D252C6 #D29E52 #52D25E
square
#5286D2 #D252C6 #D29E52 #52D25E
split-complementary
#5286D2 #D25E52 #C6D252
monochromatic
#234B87 #3067B7 #5286D2 #83A8DF #B3CAEB

Accessibility & contrast

On white

3.68
#5286D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5286D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5286D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5286D2#FFFFFF#000000##000000
##5286D21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#5480D0
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5286d2;
/* rgb */ color: rgb(82, 134, 210);
/* oklch */ color: oklch(61.9% 0.129 257.8);
Tailwind
colors: {
  custom: {
    50: '#8da8e0',
    500: '#5286d2',
    950: '#000000',
  },
}
SCSS
$custom: #5286d2;
$custom-light: #8da8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5286d2",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 210
  },
  "hsl": {
    "h": 215.625,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61855,
    "c": 0.12859,
    "h": 257.8
  },
  "luminance": 0.23497
}

Semantic roles & 50–950 ramp

primary
#5286D2
secondary
#DAC5A6
accent
#A346E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5286D2

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

Preview Lab → · Contrast checker → · Palette generator →

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