#5297EA#5297EA

#5297EA is a light, vivid cyan. Relative luminance 0.299; OKLCH L 66.9% C 0.142 H 254.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5297EA
RGBrgb(82, 151, 234)
HSLhsl(213, 78%, 62%)
HSVhsv(213, 65%, 92%)
CMYKcmyk(65%, 35.5%, 0%, 8.2%)
CIE-LABlab(61.54, 3.91, -48.31)
CIE-LCHlch(61.54, 48.47, 274.62°)
OKLaboklab(66.9% -0.0385 -0.1371)
OKLCHoklch(66.9% 0.142 254.3)
XYZxyz(29.3922, 29.8646, 82.0414)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5297EA #EAA552
analogous
#52E3EA #5297EA #5952EA
triadic
#5297EA #EA5297 #97EA52
tetradic
#5297EA #EA52E3 #EAA552 #52EA59
square
#5297EA #EA52E3 #EAA552 #52EA59
split-complementary
#5297EA #EA5952 #E3EA52
monochromatic
#155AAD #1C76E3 #5297EA #89B8F1 #BFD9F7

Accessibility & contrast

On white

3.01
#5297EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5297EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5297EA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5297EA#FFFFFF#000000##000000
##5297EA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CED
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5297ea;
/* rgb */ color: rgb(82, 151, 234);
/* oklch */ color: oklch(66.9% 0.142 254.3);
Tailwind
colors: {
  custom: {
    50: '#91b5f1',
    500: '#5297ea',
    950: '#000000',
  },
}
SCSS
$custom: #5297ea;
$custom-light: #91b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5297ea",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 212.763,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.14241,
    "h": 254.3
  },
  "luminance": 0.29868
}

Semantic roles & 50–950 ramp

primary
#5297EA
secondary
#E8CEB0
accent
#7C0BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5297EA

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

Preview Lab → · Contrast checker → · Palette generator →

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