#5297E4#5297E4

#5297E4 is a light, vivid cyan. Relative luminance 0.295; OKLCH L 66.6% C 0.135 H 252.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5297E4
RGBrgb(82, 151, 228)
HSLhsl(212, 73%, 61%)
HSVhsv(212, 64%, 89%)
CMYKcmyk(64%, 33.8%, 0%, 10.6%)
CIE-LABlab(61.24, 1.89, -45.45)
CIE-LCHlch(61.24, 45.49, 272.39°)
OKLaboklab(66.57% -0.04 -0.1288)
OKLCHoklch(66.57% 0.135 252.7)
XYZxyz(28.5448, 29.5257, 77.5785)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5297E4 #E49F52
analogous
#52E0E4 #5297E4 #5652E4
triadic
#5297E4 #E45297 #97E452
tetradic
#5297E4 #E452E0 #E49F52 #52E456
square
#5297E4 #E452E0 #E49F52 #52E456
split-complementary
#5297E4 #E45652 #E0E452
monochromatic
#195AA2 #2277D7 #5297E4 #87B7EC #BCD7F5

Accessibility & contrast

On white

3.04
#5297E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5297E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5297E4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5297E4#FFFFFF#000000##000000
##5297E41.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE7
Deuteranopia (green-blind)
#618EE2
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5297e4;
/* rgb */ color: rgb(82, 151, 228);
/* oklch */ color: oklch(66.6% 0.135 252.7);
Tailwind
colors: {
  custom: {
    50: '#90b5ed',
    500: '#5297e4',
    950: '#000000',
  },
}
SCSS
$custom: #5297e4;
$custom-light: #90b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5297e4",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 211.644,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.13485,
    "h": 252.7
  },
  "luminance": 0.29528
}

Semantic roles & 50–950 ramp

primary
#5297E4
secondary
#E5CAAD
accent
#7810D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5297E4

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

Preview Lab → · Contrast checker → · Palette generator →

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