#5289E5#5289E5

#5289E5 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.6% C 0.151 H 260.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5289E5
RGBrgb(82, 137, 229)
HSLhsl(218, 74%, 61%)
HSVhsv(218, 64%, 90%)
CMYKcmyk(64.2%, 40.2%, 0%, 10.2%)
CIE-LABlab(57.41, 10.50, -52.09)
CIE-LCHlch(57.41, 53.14, 281.40°)
OKLaboklab(63.6% -0.0259 -0.1483)
OKLCHoklch(63.6% 0.151 260.1)
XYZxyz(26.5632, 25.3398, 77.6047)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5289E5 #E5AE52
analogous
#52D2E5 #5289E5 #6452E5
triadic
#5289E5 #E55289 #89E552
tetradic
#5289E5 #E552D2 #E5AE52 #52E564
square
#5289E5 #E552D2 #E5AE52 #52E564
split-complementary
#5289E5 #E56452 #D2E552
monochromatic
#194DA4 #2166D9 #5289E5 #87ADED #BCD2F5

Accessibility & contrast

On white

3.46
#5289E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5289E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5289E5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5289E5#FFFFFF#000000##000000
##5289E51.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E9
Deuteranopia (green-blind)
#4A84E3
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5289e5;
/* rgb */ color: rgb(82, 137, 229);
/* oklch */ color: oklch(63.6% 0.151 260.1);
Tailwind
colors: {
  custom: {
    50: '#90aaee',
    500: '#5289e5',
    950: '#000000',
  },
}
SCSS
$custom: #5289e5;
$custom-light: #90aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#5289e5",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 217.551,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63596,
    "c": 0.15059,
    "h": 260.1
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#5289E5
secondary
#E5D0AE
accent
#8C10D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5289E5

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

Preview Lab → · Contrast checker → · Palette generator →

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