#5298FA#5298FA

#5298FA is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.162 H 257.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5298FA
RGBrgb(82, 152, 250)
HSLhsl(215, 94%, 65%)
HSVhsv(215, 67%, 98%)
CMYKcmyk(67.2%, 39.2%, 0%, 2%)
CIE-LABlab(62.63, 8.74, -55.37)
CIE-LCHlch(62.63, 56.06, 278.97°)
OKLaboklab(68.02% -0.0358 -0.1578)
OKLCHoklch(68.02% 0.162 257.2)
XYZxyz(31.9570, 31.1492, 94.7522)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298FA #FAB452
analogous
#52ECFA #5298FA #6052FA
triadic
#5298FA #FA5298 #98FA52
tetradic
#5298FA #FA52EC #FAB452 #52FA60
square
#5298FA #FA52EC #FAB452 #52FA60
split-complementary
#5298FA #FA6052 #ECFA52
monochromatic
#0658CC #1775F8 #5298FA #8DBBFC #C9DFFD

Accessibility & contrast

On white

2.90
#5298FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5298FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298FA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298FA#FFFFFF#000000##000000
##5298FA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5298fa;
/* rgb */ color: rgb(82, 152, 250);
/* oklch */ color: oklch(68.0% 0.162 257.2);
Tailwind
colors: {
  custom: {
    50: '#93b5fc',
    500: '#5298fa',
    950: '#000000',
  },
}
SCSS
$custom: #5298fa;
$custom-light: #93b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5298fa",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 215,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68017,
    "c": 0.16178,
    "h": 257.2
  },
  "luminance": 0.31152
}

Semantic roles & 50–950 ramp

primary
#5298FA
secondary
#F0D9B7
accent
#8600E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5298FA

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

Preview Lab → · Contrast checker → · Palette generator →

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