#5298ED#5298ED

#5298ED is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.3% C 0.145 H 254.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5298ED
RGBrgb(82, 152, 237)
HSLhsl(213, 81%, 63%)
HSVhsv(213, 65%, 93%)
CMYKcmyk(65.4%, 35.9%, 0%, 7.1%)
CIE-LABlab(61.97, 4.33, -49.29)
CIE-LCHlch(61.97, 49.48, 275.02°)
OKLaboklab(67.28% -0.0388 -0.1399)
OKLCHoklch(67.28% 0.145 254.5)
XYZxyz(29.9884, 30.3617, 84.3843)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298ED #EDA752
analogous
#52E6ED #5298ED #5952ED
triadic
#5298ED #ED5298 #98ED52
tetradic
#5298ED #ED52E6 #EDA752 #52ED59
square
#5298ED #ED52E6 #EDA752 #52ED59
split-complementary
#5298ED #ED5952 #E6ED52
monochromatic
#135BB2 #1B77E7 #5298ED #89B9F3 #C1DAF9

Accessibility & contrast

On white

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

On black

7.07
#5298ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298ED
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298ED#FFFFFF#000000##000000
##5298ED1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5298ed;
/* rgb */ color: rgb(82, 152, 237);
/* oklch */ color: oklch(67.3% 0.145 254.5);
Tailwind
colors: {
  custom: {
    50: '#91b5f3',
    500: '#5298ed',
    950: '#000000',
  },
}
SCSS
$custom: #5298ed;
$custom-light: #91b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5298ed",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 212.903,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67278,
    "c": 0.14522,
    "h": 254.5
  },
  "luminance": 0.30365
}

Semantic roles & 50–950 ramp

primary
#5298ED
secondary
#EAD0B1
accent
#7D08DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5298ED

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

Preview Lab → · Contrast checker → · Palette generator →

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