#5291E7#5291E7

#5291E7 is a light, vivid cyan. Relative luminance 0.278; OKLCH L 65.4% C 0.145 H 256.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5291E7
RGBrgb(82, 145, 231)
HSLhsl(215, 76%, 61%)
HSVhsv(215, 65%, 91%)
CMYKcmyk(64.5%, 37.2%, 0%, 9.4%)
CIE-LABlab(59.72, 6.42, -49.53)
CIE-LCHlch(59.72, 49.94, 277.38°)
OKLaboklab(65.43% -0.0333 -0.1407)
OKLCHoklch(65.43% 0.145 256.7)
XYZxyz(28.0237, 27.8114, 79.4771)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291E7 #E7A852
analogous
#52DCE7 #5291E7 #5E52E7
triadic
#5291E7 #E75291 #91E752
tetradic
#5291E7 #E752DC #E7A852 #52E75E
square
#5291E7 #E752DC #E7A852 #52E75E
split-complementary
#5291E7 #E75E52 #DCE752
monochromatic
#1754A7 #1F6FDD #5291E7 #88B3EE #BDD5F6

Accessibility & contrast

On white

3.20
#5291E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5291E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291E7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291E7#FFFFFF#000000##000000
##5291E71.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EA
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#00A5B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5291e7;
/* rgb */ color: rgb(82, 145, 231);
/* oklch */ color: oklch(65.4% 0.145 256.7);
Tailwind
colors: {
  custom: {
    50: '#90b0ef',
    500: '#5291e7',
    950: '#000000',
  },
}
SCSS
$custom: #5291e7;
$custom-light: #90b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5291e7",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 231
  },
  "hsl": {
    "h": 214.631,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65427,
    "c": 0.14464,
    "h": 256.7
  },
  "luminance": 0.27814
}

Semantic roles & 50–950 ramp

primary
#5291E7
secondary
#E6CFAF
accent
#820ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5291E7

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

Preview Lab → · Contrast checker → · Palette generator →

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