#5287D5#5287D5

#5287D5 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.2% C 0.132 H 258.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5287D5
RGBrgb(82, 135, 213)
HSLhsl(216, 61%, 58%)
HSVhsv(216, 62%, 84%)
CMYKcmyk(61.5%, 36.6%, 0%, 16.5%)
CIE-LABlab(56.01, 6.29, -45.35)
CIE-LCHlch(56.01, 45.78, 277.90°)
OKLaboklab(62.24% -0.0274 -0.1286)
OKLCHoklch(62.24% 0.132 258)
XYZxyz(24.1496, 23.9237, 66.2830)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287D5 #D5A052
analogous
#52C9D5 #5287D5 #5E52D5
triadic
#5287D5 #D55287 #87D552
tetradic
#5287D5 #D552C9 #D5A052 #52D55E
square
#5287D5 #D552C9 #D5A052 #52D55E
split-complementary
#5287D5 #D55E52 #C9D552
monochromatic
#224C8B #2E67BC #5287D5 #83A9E1 #B4CBED

Accessibility & contrast

On white

3.63
#5287D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5287D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287D5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287D5#FFFFFF#000000##000000
##5287D51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD8
Deuteranopia (green-blind)
#5481D3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5287d5;
/* rgb */ color: rgb(82, 135, 213);
/* oklch */ color: oklch(62.2% 0.132 258.0);
Tailwind
colors: {
  custom: {
    50: '#8ea9e2',
    500: '#5287d5',
    950: '#000000',
  },
}
SCSS
$custom: #5287d5;
$custom-light: #8ea9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5287d5",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 215.725,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62241,
    "c": 0.13152,
    "h": 258
  },
  "luminance": 0.23926
}

Semantic roles & 50–950 ramp

primary
#5287D5
secondary
#DCC6A7
accent
#A344E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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