#5287DD#5287DD

#5287DD is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.142 H 259.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5287DD
RGBrgb(82, 135, 221)
HSLhsl(217, 67%, 59%)
HSVhsv(217, 63%, 87%)
CMYKcmyk(62.9%, 38.9%, 0%, 13.3%)
CIE-LABlab(56.43, 8.99, -49.18)
CIE-LCHlch(56.43, 49.99, 280.36°)
OKLaboklab(62.7% -0.0256 -0.1398)
OKLCHoklch(62.7% 0.142 259.6)
XYZxyz(25.1902, 24.3399, 71.7632)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5287DD #DDA852
analogous
#52CDDD #5287DD #6352DD
triadic
#5287DD #DD5287 #87DD52
tetradic
#5287DD #DD52CD #DDA852 #52DD63
square
#5287DD #DD52CD #DDA852 #52DD63
split-complementary
#5287DD #DD6352 #CDDD52
monochromatic
#1E4C97 #2866CA #5287DD #85AAE7 #B8CEF1

Accessibility & contrast

On white

3.58
#5287DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5287DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5287DD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5287DD#FFFFFF#000000##000000
##5287DD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5287dd;
/* rgb */ color: rgb(82, 135, 221);
/* oklch */ color: oklch(62.7% 0.142 259.6);
Tailwind
colors: {
  custom: {
    50: '#8fa9e8',
    500: '#5287dd',
    950: '#000000',
  },
}
SCSS
$custom: #5287dd;
$custom-light: #8fa9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5287dd",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 217.122,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62699,
    "c": 0.14216,
    "h": 259.6
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#5287DD
secondary
#E0CCAA
accent
#A83EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5287DD

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

Preview Lab → · Contrast checker → · Palette generator →

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