#5298EC#5298EC

#5298EC is a light, vivid cyan. Relative luminance 0.303; OKLCH L 67.2% C 0.144 H 254.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5298EC
RGBrgb(82, 152, 236)
HSLhsl(213, 80%, 62%)
HSVhsv(213, 65%, 93%)
CMYKcmyk(65.3%, 35.6%, 0%, 7.5%)
CIE-LABlab(61.92, 4.00, -48.81)
CIE-LCHlch(61.92, 48.98, 274.68°)
OKLaboklab(67.22% -0.039 -0.1386)
OKLCHoklch(67.22% 0.144 254.3)
XYZxyz(29.8427, 30.3035, 83.6170)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298EC #ECA652
analogous
#52E5EC #5298EC #5952EC
triadic
#5298EC #EC5298 #98EC52
tetradic
#5298EC #EC52E5 #ECA652 #52EC59
square
#5298EC #EC52E5 #ECA652 #52EC59
split-complementary
#5298EC #EC5952 #E5EC52
monochromatic
#135BB0 #1B77E6 #5298EC #89B9F2 #C0DAF8

Accessibility & contrast

On white

2.97
#5298EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5298EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298EC#FFFFFF#000000##000000
##5298EC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EEF
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5298ec;
/* rgb */ color: rgb(82, 152, 236);
/* oklch */ color: oklch(67.2% 0.144 254.3);
Tailwind
colors: {
  custom: {
    50: '#91b5f2',
    500: '#5298ec',
    950: '#000000',
  },
}
SCSS
$custom: #5298ec;
$custom-light: #91b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5298ec",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 212.727,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.14395,
    "h": 254.3
  },
  "luminance": 0.30306
}

Semantic roles & 50–950 ramp

primary
#5298EC
secondary
#E9CFB1
accent
#7C09DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5298EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5298EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva