#5291EE#5291EE

#5291EE is a light, vivid blue. Relative luminance 0.282; OKLCH L 65.8% C 0.154 H 258.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5291EE
RGBrgb(82, 145, 238)
HSLhsl(216, 82%, 63%)
HSVhsv(216, 66%, 93%)
CMYKcmyk(65.5%, 39.1%, 0%, 6.7%)
CIE-LABlab(60.08, 8.79, -52.83)
CIE-LCHlch(60.08, 53.55, 279.45°)
OKLaboklab(65.83% -0.0317 -0.1504)
OKLCHoklch(65.83% 0.154 258.1)
XYZxyz(29.0321, 28.2148, 84.7883)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291EE #EEAF52
analogous
#52DFEE #5291EE #6152EE
triadic
#5291EE #EE5291 #91EE52
tetradic
#5291EE #EE52DF #EEAF52 #52EE61
square
#5291EE #EE52DF #EEAF52 #52EE61
split-complementary
#5291EE #EE6152 #DFEE52
monochromatic
#1253B4 #1A6EE9 #5291EE #8AB4F3 #C1D8F9

Accessibility & contrast

On white

3.16
#5291EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5291EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291EE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291EE#FFFFFF#000000##000000
##5291EE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5291ee;
/* rgb */ color: rgb(82, 145, 238);
/* oklch */ color: oklch(65.8% 0.154 258.1);
Tailwind
colors: {
  custom: {
    50: '#91b0f4',
    500: '#5291ee',
    950: '#000000',
  },
}
SCSS
$custom: #5291ee;
$custom-light: #91b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5291ee",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 215.769,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.15371,
    "h": 258.1
  },
  "luminance": 0.28218
}

Semantic roles & 50–950 ramp

primary
#5291EE
secondary
#EAD3B2
accent
#8707DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5291EE

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

Preview Lab → · Contrast checker → · Palette generator →

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