#5297EE#5297EE

#5297EE is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.1% C 0.147 H 255.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5297EE
RGBrgb(82, 151, 238)
HSLhsl(213, 82%, 63%)
HSVhsv(213, 66%, 93%)
CMYKcmyk(65.5%, 36.6%, 0%, 6.7%)
CIE-LABlab(61.74, 5.25, -50.20)
CIE-LCHlch(61.74, 50.47, 275.98°)
OKLaboklab(67.12% -0.0375 -0.1426)
OKLCHoklch(67.12% 0.147 255.3)
XYZxyz(29.9733, 30.0971, 85.1021)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5297EE #EEA952
analogous
#52E5EE #5297EE #5B52EE
triadic
#5297EE #EE5297 #97EE52
tetradic
#5297EE #EE52E5 #EEA952 #52EE5B
square
#5297EE #EE52E5 #EEA952 #52EE5B
split-complementary
#5297EE #EE5B52 #E5EE52
monochromatic
#1259B4 #1A75E9 #5297EE #8AB8F3 #C1DAF9

Accessibility & contrast

On white

2.99
#5297EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#5297EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5297EE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5297EE#FFFFFF#000000##000000
##5297EE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5297ee;
/* rgb */ color: rgb(82, 151, 238);
/* oklch */ color: oklch(67.1% 0.147 255.3);
Tailwind
colors: {
  custom: {
    50: '#91b5f4',
    500: '#5297ee',
    950: '#000000',
  },
}
SCSS
$custom: #5297ee;
$custom-light: #91b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5297ee",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 213.462,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67118,
    "c": 0.14749,
    "h": 255.3
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#5297EE
secondary
#EAD1B2
accent
#7F07DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5297EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5297EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva