#5291E4#5291E4

#5291E4 is a light, vivid cyan. Relative luminance 0.276; OKLCH L 65.3% C 0.141 H 256.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5291E4
RGBrgb(82, 145, 228)
HSLhsl(214, 73%, 61%)
HSVhsv(214, 64%, 89%)
CMYKcmyk(64%, 36.4%, 0%, 10.6%)
CIE-LABlab(59.57, 5.40, -48.11)
CIE-LCHlch(59.57, 48.41, 276.41°)
OKLaboklab(65.26% -0.034 -0.1366)
OKLCHoklch(65.26% 0.141 256)
XYZxyz(27.6036, 27.6434, 77.2647)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291E4 #E4A552
analogous
#52DAE4 #5291E4 #5C52E4
triadic
#5291E4 #E45291 #91E452
tetradic
#5291E4 #E452DA #E4A552 #52E45C
square
#5291E4 #E452DA #E4A552 #52E45C
split-complementary
#5291E4 #E45C52 #DAE452
monochromatic
#1954A2 #2270D7 #5291E4 #87B3EC #BCD4F5

Accessibility & contrast

On white

3.22
#5291E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5291E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291E4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291E4#FFFFFF#000000##000000
##5291E41.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#00A4B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5291e4;
/* rgb */ color: rgb(82, 145, 228);
/* oklch */ color: oklch(65.3% 0.141 256.0);
Tailwind
colors: {
  custom: {
    50: '#90b0ed',
    500: '#5291e4',
    950: '#000000',
  },
}
SCSS
$custom: #5291e4;
$custom-light: #90b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5291e4",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 228
  },
  "hsl": {
    "h": 214.11,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65258,
    "c": 0.14076,
    "h": 256
  },
  "luminance": 0.27646
}

Semantic roles & 50–950 ramp

primary
#5291E4
secondary
#E5CDAD
accent
#8010D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5291E4

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

Preview Lab → · Contrast checker → · Palette generator →

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