#5291E2#5291E2

#5291E2 is a light, vivid cyan. Relative luminance 0.275; OKLCH L 65.1% C 0.138 H 255.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5291E2
RGBrgb(82, 145, 226)
HSLhsl(214, 71%, 60%)
HSVhsv(214, 64%, 89%)
CMYKcmyk(63.7%, 35.8%, 0%, 11.4%)
CIE-LABlab(59.46, 4.73, -47.15)
CIE-LCHlch(59.46, 47.39, 275.73°)
OKLaboklab(65.15% -0.0345 -0.1338)
OKLCHoklch(65.15% 0.138 255.5)
XYZxyz(27.3276, 27.5330, 75.8110)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291E2 #E2A352
analogous
#52D9E2 #5291E2 #5B52E2
triadic
#5291E2 #E25291 #91E252
tetradic
#5291E2 #E252D9 #E2A352 #52E25B
square
#5291E2 #E252D9 #E2A352 #52E25B
split-complementary
#5291E2 #E25B52 #D9E252
monochromatic
#1B559F #2370D3 #5291E2 #86B2EB #BBD4F4

Accessibility & contrast

On white

3.23
#5291E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5291E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291E2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291E2#FFFFFF#000000##000000
##5291E21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E5
Deuteranopia (green-blind)
#5A89E0
Tritanopia (blue-blind)
#00A4AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5291e2;
/* rgb */ color: rgb(82, 145, 226);
/* oklch */ color: oklch(65.1% 0.138 255.5);
Tailwind
colors: {
  custom: {
    50: '#90b0eb',
    500: '#5291e2',
    950: '#000000',
  },
}
SCSS
$custom: #5291e2;
$custom-light: #90b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5291e2",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 213.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65147,
    "c": 0.13818,
    "h": 255.5
  },
  "luminance": 0.27536
}

Semantic roles & 50–950 ramp

primary
#5291E2
secondary
#E3CBAC
accent
#7F12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5291E2

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

Preview Lab → · Contrast checker → · Palette generator →

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