#5298FE#5298FE

#5298FE is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.167 H 257.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5298FE
RGBrgb(82, 152, 254)
HSLhsl(216, 99%, 66%)
HSVhsv(216, 68%, 100%)
CMYKcmyk(67.7%, 40.2%, 0%, 0.4%)
CIE-LABlab(62.85, 10.11, -57.22)
CIE-LCHlch(62.85, 58.11, 280.02°)
OKLaboklab(68.25% -0.0349 -0.1632)
OKLCHoklch(68.25% 0.167 257.9)
XYZxyz(32.5908, 31.4027, 98.0905)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298FE #FEB852
analogous
#52EEFE #5298FE #6252FE
triadic
#5298FE #FE5298 #98FE52
tetradic
#5298FE #FE52EE #FEB852 #52FE62
square
#5298FE #FE52EE #FEB852 #52FE62
split-complementary
#5298FE #FE6252 #EEFE52
monochromatic
#0157D4 #1574FE #5298FE #8FBCFE #CCE0FF

Accessibility & contrast

On white

2.88
#5298FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5298FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298FE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298FE#FFFFFF#000000##000000
##5298FE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#4E91FC
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5298fe;
/* rgb */ color: rgb(82, 152, 254);
/* oklch */ color: oklch(68.3% 0.167 257.9);
Tailwind
colors: {
  custom: {
    50: '#94b5ff',
    500: '#5298fe',
    950: '#000000',
  },
}
SCSS
$custom: #5298fe;
$custom-light: #94b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5298fe",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 215.581,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68251,
    "c": 0.16689,
    "h": 257.9
  },
  "luminance": 0.31406
}

Semantic roles & 50–950 ramp

primary
#5298FE
secondary
#F2DBB9
accent
#8800E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5298FE

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

Preview Lab → · Contrast checker → · Palette generator →

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