#5289EC#5289EC

#5289EC is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.0% C 0.160 H 261.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5289EC
RGBrgb(82, 137, 236)
HSLhsl(219, 80%, 62%)
HSVhsv(219, 65%, 93%)
CMYKcmyk(65.3%, 41.9%, 0%, 7.5%)
CIE-LABlab(57.79, 12.89, -55.37)
CIE-LCHlch(57.79, 56.85, 283.10°)
OKLaboklab(64.02% -0.0245 -0.158)
OKLCHoklch(64.02% 0.16 261.2)
XYZxyz(27.5603, 25.7386, 82.8562)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5289EC #ECB552
analogous
#52D6EC #5289EC #6852EC
triadic
#5289EC #EC5289 #89EC52
tetradic
#5289EC #EC52D6 #ECB552 #52EC68
square
#5289EC #EC52D6 #ECB552 #52EC68
split-complementary
#5289EC #EC6852 #D6EC52
monochromatic
#134BB0 #1B63E6 #5289EC #89AFF2 #C0D4F8

Accessibility & contrast

On white

3.42
#5289EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5289EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5289EC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5289EC#FFFFFF#000000##000000
##5289EC1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92F0
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5289ec;
/* rgb */ color: rgb(82, 137, 236);
/* oklch */ color: oklch(64.0% 0.160 261.2);
Tailwind
colors: {
  custom: {
    50: '#91aaf3',
    500: '#5289ec',
    950: '#000000',
  },
}
SCSS
$custom: #5289ec;
$custom-light: #91aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5289ec",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 218.571,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64017,
    "c": 0.15987,
    "h": 261.2
  },
  "luminance": 0.25741
}

Semantic roles & 50–950 ramp

primary
#5289EC
secondary
#E9D5B1
accent
#9109DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5289EC

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

Preview Lab → · Contrast checker → · Palette generator →

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