#5290F5#5290F5

#5290F5 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.0% C 0.164 H 259.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5290F5
RGBrgb(82, 144, 245)
HSLhsl(217, 89%, 64%)
HSVhsv(217, 67%, 96%)
CMYKcmyk(66.5%, 41.2%, 0%, 3.9%)
CIE-LABlab(60.19, 11.78, -56.52)
CIE-LCHlch(60.19, 57.74, 281.77°)
OKLaboklab(66.03% -0.0294 -0.1613)
OKLCHoklch(66.03% 0.164 259.7)
XYZxyz(29.9285, 28.3299, 90.2595)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5290F5 #F5B752
analogous
#52E2F5 #5290F5 #6652F5
triadic
#5290F5 #F55290 #90F552
tetradic
#5290F5 #F552E2 #F5B752 #52F566
square
#5290F5 #F552E2 #F5B752 #52F566
split-complementary
#5290F5 #F56652 #E2F552
monochromatic
#0B50C1 #186BF2 #5290F5 #8CB5F8 #C6DAFC

Accessibility & contrast

On white

3.15
#5290F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5290F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5290F5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5290F5#FFFFFF#000000##000000
##5290F51.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#00A7B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5290f5;
/* rgb */ color: rgb(82, 144, 245);
/* oklch */ color: oklch(66.0% 0.164 259.7);
Tailwind
colors: {
  custom: {
    50: '#93b0f9',
    500: '#5290f5',
    950: '#000000',
  },
}
SCSS
$custom: #5290f5;
$custom-light: #93b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5290f5",
  "rgb": {
    "r": 82,
    "g": 144,
    "b": 245
  },
  "hsl": {
    "h": 217.178,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.16391,
    "h": 259.7
  },
  "luminance": 0.28333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5290F5

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

Preview Lab → · Contrast checker → · Palette generator →

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