#5289EB#5289EB

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

Color values

HEX#5289EB
RGBrgb(82, 137, 235)
HSLhsl(218, 79%, 62%)
HSVhsv(218, 65%, 92%)
CMYKcmyk(65.1%, 41.7%, 0%, 7.8%)
CIE-LABlab(57.73, 12.55, -54.91)
CIE-LCHlch(57.73, 56.32, 282.87°)
OKLaboklab(63.96% -0.0247 -0.1566)
OKLCHoklch(63.96% 0.159 261)
XYZxyz(27.4154, 25.6807, 82.0932)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5289EB #EBB452
analogous
#52D6EB #5289EB #6752EB
triadic
#5289EB #EB5289 #89EB52
tetradic
#5289EB #EB52D6 #EBB452 #52EB67
square
#5289EB #EB52D6 #EBB452 #52EB67
split-complementary
#5289EB #EB6752 #D6EB52
monochromatic
#144CAE #1B64E5 #5289EB #89AEF1 #C0D4F8

Accessibility & contrast

On white

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

On black

6.14
#5289EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5289EB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5289EB#FFFFFF#000000##000000
##5289EB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EF
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5289eb;
/* rgb */ color: rgb(82, 137, 235);
/* oklch */ color: oklch(64.0% 0.159 261.0);
Tailwind
colors: {
  custom: {
    50: '#91aaf2',
    500: '#5289eb',
    950: '#000000',
  },
}
SCSS
$custom: #5289eb;
$custom-light: #91aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5289eb",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 218.431,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63956,
    "c": 0.15854,
    "h": 261
  },
  "luminance": 0.25683
}

Semantic roles & 50–950 ramp

primary
#5289EB
secondary
#E8D4B0
accent
#900ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5289EB

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

Preview Lab → · Contrast checker → · Palette generator →

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