#5297FF#5297FF

#5297FF is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.1% C 0.169 H 258.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5297FF
RGBrgb(82, 151, 255)
HSLhsl(216, 100%, 66%)
HSVhsv(216, 68%, 100%)
CMYKcmyk(67.8%, 40.8%, 0%, 0%)
CIE-LABlab(62.63, 11.04, -58.11)
CIE-LCHlch(62.63, 59.15, 280.76°)
OKLaboklab(68.1% -0.0338 -0.1658)
OKLCHoklch(68.1% 0.169 258.5)
XYZxyz(32.5898, 31.1437, 98.8822)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5297FF #FFBA52
analogous
#52EEFF #5297FF #6352FF
triadic
#5297FF #FF5297 #97FF52
tetradic
#5297FF #FF52EE #FFBA52 #52FF63
square
#5297FF #FF52EE #FFBA52 #52FF63
split-complementary
#5297FF #FF6352 #EEFF52
monochromatic
#0056D7 #1572FF #5297FF #8FBCFF #CCE1FF

Accessibility & contrast

On white

2.90
#5297FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5297FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5297FF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5297FF#FFFFFF#000000##000000
##5297FF1.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)
#66A0FF
Deuteranopia (green-blind)
#4A90FD
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5297ff;
/* rgb */ color: rgb(82, 151, 255);
/* oklch */ color: oklch(68.1% 0.169 258.5);
Tailwind
colors: {
  custom: {
    50: '#94b5ff',
    500: '#5297ff',
    950: '#000000',
  },
}
SCSS
$custom: #5297ff;
$custom-light: #94b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5297ff",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 216.069,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.681,
    "c": 0.16924,
    "h": 258.5
  },
  "luminance": 0.31147
}

Semantic roles & 50–950 ramp

primary
#5297FF
secondary
#F3DCBA
accent
#8A00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5297FF

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

Preview Lab → · Contrast checker → · Palette generator →

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