#5286D3#5286D3

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

Color values

HEX#5286D3
RGBrgb(82, 134, 211)
HSLhsl(216, 59%, 57%)
HSVhsv(216, 61%, 83%)
CMYKcmyk(61.1%, 36.5%, 0%, 17.3%)
CIE-LABlab(55.63, 6.22, -44.82)
CIE-LCHlch(55.63, 45.25, 277.90°)
OKLaboklab(61.91% -0.0269 -0.1271)
OKLCHoklch(61.91% 0.13 258.1)
XYZxyz(23.7585, 23.5450, 64.9080)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5286D3 #D39F52
analogous
#52C6D3 #5286D3 #5F52D3
triadic
#5286D3 #D35286 #86D352
tetradic
#5286D3 #D352C6 #D39F52 #52D35F
square
#5286D3 #D352C6 #D39F52 #52D35F
split-complementary
#5286D3 #D35F52 #C6D352
monochromatic
#234B88 #2F67B9 #5286D3 #83A8DF #B4CAEC

Accessibility & contrast

On white

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

On black

5.71
#5286D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5286D3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5286D3#FFFFFF#000000##000000
##5286D31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD6
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5286d3;
/* rgb */ color: rgb(82, 134, 211);
/* oklch */ color: oklch(61.9% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#8da8e1',
    500: '#5286d3',
    950: '#000000',
  },
}
SCSS
$custom: #5286d3;
$custom-light: #8da8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5286d3",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 211
  },
  "hsl": {
    "h": 215.814,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.12992,
    "h": 258.1
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5286D3

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

Preview Lab → · Contrast checker → · Palette generator →

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