#5291FA#5291FA

#5291FA is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.5% C 0.169 H 260.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5291FA
RGBrgb(82, 145, 250)
HSLhsl(218, 94%, 65%)
HSVhsv(218, 67%, 98%)
CMYKcmyk(67.2%, 42%, 0%, 2%)
CIE-LABlab(60.73, 12.89, -58.40)
CIE-LCHlch(60.73, 59.81, 282.45°)
OKLaboklab(66.54% -0.0293 -0.1668)
OKLCHoklch(66.54% 0.169 260)
XYZxyz(30.8542, 28.9436, 94.3846)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291FA #FABB52
analogous
#52E5FA #5291FA #6752FA
triadic
#5291FA #FA5291 #91FA52
tetradic
#5291FA #FA52E5 #FABB52 #52FA67
square
#5291FA #FA52E5 #FABB52 #52FA67
split-complementary
#5291FA #FA6752 #E5FA52
monochromatic
#0650CC #176BF8 #5291FA #8DB7FC #C9DDFD

Accessibility & contrast

On white

3.09
#5291FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5291FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291FA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291FA#FFFFFF#000000##000000
##5291FA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#00A9B9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5291fa;
/* rgb */ color: rgb(82, 145, 250);
/* oklch */ color: oklch(66.5% 0.169 260.0);
Tailwind
colors: {
  custom: {
    50: '#93b0fc',
    500: '#5291fa',
    950: '#000000',
  },
}
SCSS
$custom: #5291fa;
$custom-light: #93b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5291fa",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 217.5,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66543,
    "c": 0.16932,
    "h": 260
  },
  "luminance": 0.28947
}

Semantic roles & 50–950 ramp

primary
#5291FA
secondary
#F0DBB7
accent
#8F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5291FA

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

Preview Lab → · Contrast checker → · Palette generator →

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