#5291EC#5291EC

#5291EC is a light, vivid blue. Relative luminance 0.281; OKLCH L 65.7% C 0.151 H 257.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5291EC
RGBrgb(82, 145, 236)
HSLhsl(215, 80%, 62%)
HSVhsv(215, 65%, 93%)
CMYKcmyk(65.3%, 38.6%, 0%, 7.5%)
CIE-LABlab(59.98, 8.11, -51.89)
CIE-LCHlch(59.98, 52.52, 278.88°)
OKLaboklab(65.71% -0.0322 -0.1476)
OKLCHoklch(65.71% 0.151 257.7)
XYZxyz(28.7400, 28.0979, 83.2495)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291EC #ECAD52
analogous
#52DEEC #5291EC #6052EC
triadic
#5291EC #EC5291 #91EC52
tetradic
#5291EC #EC52DE #ECAD52 #52EC60
square
#5291EC #EC52DE #ECAD52 #52EC60
split-complementary
#5291EC #EC6052 #DEEC52
monochromatic
#1354B0 #1B6EE6 #5291EC #89B4F2 #C0D7F8

Accessibility & contrast

On white

3.17
#5291EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5291EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291EC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291EC#FFFFFF#000000##000000
##5291EC1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#00A6B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5291ec;
/* rgb */ color: rgb(82, 145, 236);
/* oklch */ color: oklch(65.7% 0.151 257.7);
Tailwind
colors: {
  custom: {
    50: '#91b0f2',
    500: '#5291ec',
    950: '#000000',
  },
}
SCSS
$custom: #5291ec;
$custom-light: #91b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5291ec",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 215.455,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.15112,
    "h": 257.7
  },
  "luminance": 0.28101
}

Semantic roles & 50–950 ramp

primary
#5291EC
secondary
#E9D2B1
accent
#8609DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5291EC

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

Preview Lab → · Contrast checker → · Palette generator →

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