#5298EB#5298EB

#5298EB is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.2% C 0.143 H 254.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5298EB
RGBrgb(82, 152, 235)
HSLhsl(213, 79%, 62%)
HSVhsv(213, 65%, 92%)
CMYKcmyk(65.1%, 35.3%, 0%, 7.8%)
CIE-LABlab(61.87, 3.66, -48.34)
CIE-LCHlch(61.87, 48.48, 274.33°)
OKLaboklab(67.17% -0.0392 -0.1372)
OKLCHoklch(67.17% 0.143 254)
XYZxyz(29.6978, 30.2455, 82.8540)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298EB #EBA552
analogous
#52E5EB #5298EB #5952EB
triadic
#5298EB #EB5298 #98EB52
tetradic
#5298EB #EB52E5 #EBA552 #52EB59
square
#5298EB #EB52E5 #EBA552 #52EB59
split-complementary
#5298EB #EB5952 #E5EB52
monochromatic
#145BAE #1B77E5 #5298EB #89B9F1 #C0D9F8

Accessibility & contrast

On white

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

On black

7.05
#5298EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298EB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298EB#FFFFFF#000000##000000
##5298EB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5298eb;
/* rgb */ color: rgb(82, 152, 235);
/* oklch */ color: oklch(67.2% 0.143 254.0);
Tailwind
colors: {
  custom: {
    50: '#91b5f2',
    500: '#5298eb',
    950: '#000000',
  },
}
SCSS
$custom: #5298eb;
$custom-light: #91b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5298eb",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 212.549,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.14269,
    "h": 254
  },
  "luminance": 0.30248
}

Semantic roles & 50–950 ramp

primary
#5298EB
secondary
#E8CFB0
accent
#7C0ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5298EB

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

Preview Lab → · Contrast checker → · Palette generator →

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