#5291F5#5291F5

#5291F5 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.2% C 0.163 H 259.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5291F5
RGBrgb(82, 145, 245)
HSLhsl(217, 89%, 64%)
HSVhsv(217, 67%, 96%)
CMYKcmyk(66.5%, 40.8%, 0%, 3.9%)
CIE-LABlab(60.46, 11.18, -56.09)
CIE-LCHlch(60.46, 57.19, 281.27°)
OKLaboklab(66.24% -0.0303 -0.16)
OKLCHoklch(66.24% 0.163 259.3)
XYZxyz(30.0806, 28.6342, 90.3102)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291F5 #F5B652
analogous
#52E2F5 #5291F5 #6552F5
triadic
#5291F5 #F55291 #91F552
tetradic
#5291F5 #F552E2 #F5B652 #52F565
square
#5291F5 #F552E2 #F5B652 #52F565
split-complementary
#5291F5 #F56552 #E2F552
monochromatic
#0B52C1 #186CF2 #5291F5 #8CB6F8 #C6DBFC

Accessibility & contrast

On white

3.12
#5291F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#5291F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291F5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291F5#FFFFFF#000000##000000
##5291F51.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A8B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5291f5;
/* rgb */ color: rgb(82, 145, 245);
/* oklch */ color: oklch(66.2% 0.163 259.3);
Tailwind
colors: {
  custom: {
    50: '#93b0f9',
    500: '#5291f5',
    950: '#000000',
  },
}
SCSS
$custom: #5291f5;
$custom-light: #93b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5291f5",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 245
  },
  "hsl": {
    "h": 216.81,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66242,
    "c": 0.16282,
    "h": 259.3
  },
  "luminance": 0.28637
}

Semantic roles & 50–950 ramp

primary
#5291F5
secondary
#EED8B5
accent
#8D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5291F5

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

Preview Lab → · Contrast checker → · Palette generator →

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