#5291EB#5291EB

#5291EB is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.7% C 0.150 H 257.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5291EB
RGBrgb(82, 145, 235)
HSLhsl(215, 79%, 62%)
HSVhsv(215, 65%, 92%)
CMYKcmyk(65.1%, 38.3%, 0%, 7.8%)
CIE-LABlab(59.92, 7.77, -51.42)
CIE-LCHlch(59.92, 52.00, 278.59°)
OKLaboklab(65.66% -0.0324 -0.1463)
OKLCHoklch(65.66% 0.15 257.5)
XYZxyz(28.5951, 28.0400, 82.4864)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291EB #EBAC52
analogous
#52DEEB #5291EB #5F52EB
triadic
#5291EB #EB5291 #91EB52
tetradic
#5291EB #EB52DE #EBAC52 #52EB5F
square
#5291EB #EB52DE #EBAC52 #52EB5F
split-complementary
#5291EB #EB5F52 #DEEB52
monochromatic
#1454AE #1B6EE5 #5291EB #89B4F1 #C0D7F8

Accessibility & contrast

On white

3.18
#5291EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5291EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291EB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291EB#FFFFFF#000000##000000
##5291EB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#528AE9
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5291eb;
/* rgb */ color: rgb(82, 145, 235);
/* oklch */ color: oklch(65.7% 0.150 257.5);
Tailwind
colors: {
  custom: {
    50: '#91b0f2',
    500: '#5291eb',
    950: '#000000',
  },
}
SCSS
$custom: #5291eb;
$custom-light: #91b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5291eb",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 215.294,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65655,
    "c": 0.14982,
    "h": 257.5
  },
  "luminance": 0.28043
}

Semantic roles & 50–950 ramp

primary
#5291EB
secondary
#E8D1B0
accent
#850ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5291EB

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

Preview Lab → · Contrast checker → · Palette generator →

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