#5289F1#5289F1

#5289F1 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.3% C 0.166 H 261.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5289F1
RGBrgb(82, 137, 241)
HSLhsl(219, 85%, 63%)
HSVhsv(219, 66%, 95%)
CMYKcmyk(66%, 43.2%, 0%, 5.5%)
CIE-LABlab(58.07, 14.60, -57.70)
CIE-LCHlch(58.07, 59.51, 284.20°)
OKLaboklab(64.32% -0.0236 -0.1648)
OKLCHoklch(64.32% 0.166 261.9)
XYZxyz(28.2969, 26.0333, 86.7357)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5289F1 #F1BA52
analogous
#52D9F1 #5289F1 #6A52F1
triadic
#5289F1 #F15289 #89F152
tetradic
#5289F1 #F152D9 #F1BA52 #52F16A
square
#5289F1 #F152D9 #F1BA52 #52F16A
split-complementary
#5289F1 #F16A52 #D9F152
monochromatic
#0F4ABA #1962EC #5289F1 #8BB0F6 #C3D6FA

Accessibility & contrast

On white

3.38
#5289F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5289F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5289F1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5289F1#FFFFFF#000000##000000
##5289F11.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F5
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5289f1;
/* rgb */ color: rgb(82, 137, 241);
/* oklch */ color: oklch(64.3% 0.166 261.9);
Tailwind
colors: {
  custom: {
    50: '#92aaf6',
    500: '#5289f1',
    950: '#000000',
  },
}
SCSS
$custom: #5289f1;
$custom-light: #92aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5289f1",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 241
  },
  "hsl": {
    "h": 219.245,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64324,
    "c": 0.16649,
    "h": 261.9
  },
  "luminance": 0.26036
}

Semantic roles & 50–950 ramp

primary
#5289F1
secondary
#ECD8B3
accent
#9504E2
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5289F1

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

Preview Lab → · Contrast checker → · Palette generator →

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