#5298F3#5298F3

#5298F3 is a light, vivid cyan. Relative luminance 0.307; OKLCH L 67.6% C 0.153 H 255.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5298F3
RGBrgb(82, 152, 243)
HSLhsl(214, 87%, 64%)
HSVhsv(214, 66%, 95%)
CMYKcmyk(66.3%, 37.4%, 0%, 4.7%)
CIE-LABlab(62.27, 6.36, -52.11)
CIE-LCHlch(62.27, 52.49, 276.96°)
OKLaboklab(67.62% -0.0373 -0.1482)
OKLCHoklch(67.62% 0.153 255.9)
XYZxyz(30.8797, 30.7182, 89.0785)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5298F3 #F3AD52
analogous
#52E8F3 #5298F3 #5C52F3
triadic
#5298F3 #F35298 #98F352
tetradic
#5298F3 #F352E8 #F3AD52 #52F35C
square
#5298F3 #F352E8 #F3AD52 #52F35C
split-complementary
#5298F3 #F35C52 #E8F352
monochromatic
#0D5ABD #1976EF #5298F3 #8BBAF7 #C4DCFB

Accessibility & contrast

On white

2.94
#5298F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5298F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5298F3
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5298F3#FFFFFF#000000##000000
##5298F31.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF7
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5298f3;
/* rgb */ color: rgb(82, 152, 243);
/* oklch */ color: oklch(67.6% 0.153 255.9);
Tailwind
colors: {
  custom: {
    50: '#92b5f7',
    500: '#5298f3',
    950: '#000000',
  },
}
SCSS
$custom: #5298f3;
$custom-light: #92b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5298f3",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 213.913,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67615,
    "c": 0.15284,
    "h": 255.9
  },
  "luminance": 0.30721
}

Semantic roles & 50–950 ramp

primary
#5298F3
secondary
#EDD4B4
accent
#8102E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5298F3

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

Preview Lab → · Contrast checker → · Palette generator →

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