#5289DC#5289DC

#5289DC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.1% C 0.139 H 258.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5289DC
RGBrgb(82, 137, 220)
HSLhsl(216, 66%, 59%)
HSVhsv(216, 63%, 86%)
CMYKcmyk(62.7%, 37.7%, 0%, 13.7%)
CIE-LABlab(56.93, 7.45, -47.82)
CIE-LCHlch(56.93, 48.40, 278.86°)
OKLaboklab(63.07% -0.0278 -0.1358)
OKLCHoklch(63.07% 0.139 258.4)
XYZxyz(25.3390, 24.8501, 71.1575)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5289DC #DCA552
analogous
#52CEDC #5289DC #6052DC
triadic
#5289DC #DC5289 #89DC52
tetradic
#5289DC #DC52CE #DCA552 #52DC60
square
#5289DC #DC52CE #DCA552 #52DC60
split-complementary
#5289DC #DC6052 #CEDC52
monochromatic
#1E4E95 #2968C8 #5289DC #85ACE6 #B8CEF1

Accessibility & contrast

On white

3.52
#5289DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5289DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5289DC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5289DC#FFFFFF#000000##000000
##5289DC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#5183DA
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5289dc;
/* rgb */ color: rgb(82, 137, 220);
/* oklch */ color: oklch(63.1% 0.139 258.4);
Tailwind
colors: {
  custom: {
    50: '#8fabe7',
    500: '#5289dc',
    950: '#000000',
  },
}
SCSS
$custom: #5289dc;
$custom-light: #8fabe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5289dc",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 216.087,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63072,
    "c": 0.13866,
    "h": 258.4
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

primary
#5289DC
secondary
#E0CAAA
accent
#A53FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5289DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5289DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva