#5297E8#5297E8

#5297E8 is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.8% C 0.140 H 253.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5297E8
RGBrgb(82, 151, 232)
HSLhsl(212, 77%, 62%)
HSVhsv(212, 65%, 91%)
CMYKcmyk(64.7%, 34.9%, 0%, 9%)
CIE-LABlab(61.44, 3.23, -47.36)
CIE-LCHlch(61.44, 47.47, 273.91°)
OKLaboklab(66.79% -0.039 -0.1343)
OKLCHoklch(66.79% 0.14 253.8)
XYZxyz(29.1065, 29.7504, 80.5368)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5297E8 #E8A352
analogous
#52E2E8 #5297E8 #5852E8
triadic
#5297E8 #E85297 #97E852
tetradic
#5297E8 #E852E2 #E8A352 #52E858
square
#5297E8 #E852E2 #E8A352 #52E858
split-complementary
#5297E8 #E85852 #E2E852
monochromatic
#165AA9 #1E77DF #5297E8 #88B7EF #BED8F6

Accessibility & contrast

On white

3.02
#5297E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#5297E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5297E8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5297E8#FFFFFF#000000##000000
##5297E81.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5297e8;
/* rgb */ color: rgb(82, 151, 232);
/* oklch */ color: oklch(66.8% 0.140 253.8);
Tailwind
colors: {
  custom: {
    50: '#90b5ef',
    500: '#5297e8',
    950: '#000000',
  },
}
SCSS
$custom: #5297e8;
$custom-light: #90b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5297e8",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 212.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66786,
    "c": 0.13988,
    "h": 253.8
  },
  "luminance": 0.29753
}

Semantic roles & 50–950 ramp

primary
#5297E8
secondary
#E7CDAF
accent
#7B0DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5297E8

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

Preview Lab → · Contrast checker → · Palette generator →

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