#5298E9#5298E9

#5298E9 is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.1% C 0.140 H 253.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5298E9
RGBrgb(82, 152, 233)
HSLhsl(212, 77%, 62%)
HSVhsv(212, 65%, 91%)
CMYKcmyk(64.8%, 34.8%, 0%, 8.6%)
CIE-LABlab(61.77, 2.99, -47.39)
CIE-LCHlch(61.77, 47.49, 273.61°)
OKLaboklab(67.06% -0.0397 -0.1344)
OKLCHoklch(67.06% 0.14 253.5)
XYZxyz(29.4105, 30.1306, 81.3408)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298E9 #E9A352
analogous
#52E4E9 #5298E9 #5852E9
triadic
#5298E9 #E95298 #98E952
tetradic
#5298E9 #E952E4 #E9A352 #52E958
square
#5298E9 #E952E4 #E9A352 #52E958
split-complementary
#5298E9 #E95852 #E4E952
monochromatic
#165BAB #1D78E1 #5298E9 #88B8F0 #BFD9F7

Accessibility & contrast

On white

2.99
#5298E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5298E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298E9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298E9#FFFFFF#000000##000000
##5298E91.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DEC
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5298e9;
/* rgb */ color: rgb(82, 152, 233);
/* oklch */ color: oklch(67.1% 0.140 253.5);
Tailwind
colors: {
  custom: {
    50: '#91b5f0',
    500: '#5298e9',
    950: '#000000',
  },
}
SCSS
$custom: #5298e9;
$custom-light: #91b5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5298e9",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 212.185,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.14017,
    "h": 253.5
  },
  "luminance": 0.30134
}

Semantic roles & 50–950 ramp

primary
#5298E9
secondary
#E7CDAF
accent
#7A0CDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5298E9

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

Preview Lab → · Contrast checker → · Palette generator →

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