#5298F7#5298F7

#5298F7 is a light, vivid cyan. Relative luminance 0.310; OKLCH L 67.8% C 0.158 H 256.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5298F7
RGBrgb(82, 152, 247)
HSLhsl(215, 91%, 65%)
HSVhsv(215, 67%, 97%)
CMYKcmyk(66.8%, 38.5%, 0%, 3.1%)
CIE-LABlab(62.48, 7.72, -53.98)
CIE-LCHlch(62.48, 54.52, 278.14°)
OKLaboklab(67.84% -0.0364 -0.1537)
OKLCHoklch(67.84% 0.158 256.7)
XYZxyz(31.4903, 30.9625, 92.2944)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298F7 #F7B152
analogous
#52EBF7 #5298F7 #5E52F7
triadic
#5298F7 #F75298 #98F752
tetradic
#5298F7 #F752EB #F7B152 #52F75E
square
#5298F7 #F752EB #F7B152 #52F75E
split-complementary
#5298F7 #F75E52 #EBF752
monochromatic
#0959C5 #1875F4 #5298F7 #8CBBFA #C7DEFC

Accessibility & contrast

On white

2.92
#5298F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#5298F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298F7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298F7#FFFFFF#000000##000000
##5298F71.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5298f7;
/* rgb */ color: rgb(82, 152, 247);
/* oklch */ color: oklch(67.8% 0.158 256.7);
Tailwind
colors: {
  custom: {
    50: '#93b5fa',
    500: '#5298f7',
    950: '#000000',
  },
}
SCSS
$custom: #5298f7;
$custom-light: #93b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5298f7",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 214.545,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67843,
    "c": 0.15794,
    "h": 256.7
  },
  "luminance": 0.30966
}

Semantic roles & 50–950 ramp

primary
#5298F7
secondary
#EFD7B6
accent
#8400E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5298F7

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

Preview Lab → · Contrast checker → · Palette generator →

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