#5287D3#5287D3

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

Color values

HEX#5287D3
RGBrgb(82, 135, 211)
HSLhsl(215, 59%, 57%)
HSVhsv(215, 61%, 83%)
CMYKcmyk(61.1%, 36%, 0%, 17.3%)
CIE-LABlab(55.91, 5.62, -44.38)
CIE-LCHlch(55.91, 44.73, 277.22°)
OKLaboklab(62.13% -0.0279 -0.1258)
OKLCHoklch(62.13% 0.129 257.5)
XYZxyz(23.8973, 23.8228, 64.9543)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287D3 #D39E52
analogous
#52C7D3 #5287D3 #5E52D3
triadic
#5287D3 #D35287 #87D352
tetradic
#5287D3 #D352C7 #D39E52 #52D35E
square
#5287D3 #D352C7 #D39E52 #52D35E
split-complementary
#5287D3 #D35E52 #C7D352
monochromatic
#234C88 #2F68B9 #5287D3 #83A9DF #B4CBEC

Accessibility & contrast

On white

3.64
#5287D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5287D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287D3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287D3#FFFFFF#000000##000000
##5287D31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD6
Deuteranopia (green-blind)
#5580D1
Tritanopia (blue-blind)
#0098A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5287d3;
/* rgb */ color: rgb(82, 135, 211);
/* oklch */ color: oklch(62.1% 0.129 257.5);
Tailwind
colors: {
  custom: {
    50: '#8da9e1',
    500: '#5287d3',
    950: '#000000',
  },
}
SCSS
$custom: #5287d3;
$custom-light: #8da9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5287d3",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 215.349,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.12887,
    "h": 257.5
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5287D3

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

Preview Lab → · Contrast checker → · Palette generator →

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