#5298EA#5298EA

#5298EA is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.1% C 0.141 H 253.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5298EA
RGBrgb(82, 152, 234)
HSLhsl(212, 78%, 62%)
HSVhsv(212, 65%, 92%)
CMYKcmyk(65%, 35%, 0%, 8.2%)
CIE-LABlab(61.82, 3.32, -47.87)
CIE-LCHlch(61.82, 47.98, 273.97°)
OKLaboklab(67.11% -0.0395 -0.1358)
OKLCHoklch(67.11% 0.141 253.8)
XYZxyz(29.5538, 30.1879, 82.0953)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298EA #EAA452
analogous
#52E4EA #5298EA #5852EA
triadic
#5298EA #EA5298 #98EA52
tetradic
#5298EA #EA52E4 #EAA452 #52EA58
square
#5298EA #EA52E4 #EAA452 #52EA58
split-complementary
#5298EA #EA5852 #E4EA52
monochromatic
#155BAD #1C78E3 #5298EA #89B8F1 #BFD9F7

Accessibility & contrast

On white

2.98
#5298EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5298EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298EA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298EA#FFFFFF#000000##000000
##5298EA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DED
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5298ea;
/* rgb */ color: rgb(82, 152, 234);
/* oklch */ color: oklch(67.1% 0.141 253.8);
Tailwind
colors: {
  custom: {
    50: '#91b5f1',
    500: '#5298ea',
    950: '#000000',
  },
}
SCSS
$custom: #5298ea;
$custom-light: #91b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5298ea",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 212.368,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67113,
    "c": 0.14143,
    "h": 253.8
  },
  "luminance": 0.30191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5298EA

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

Preview Lab → · Contrast checker → · Palette generator →

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