#5087F6#5087F6

#5087F6 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.176 H 262.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5087F6
RGBrgb(80, 135, 246)
HSLhsl(220, 90%, 64%)
HSVhsv(220, 67%, 96%)
CMYKcmyk(67.5%, 45.1%, 0%, 3.5%)
CIE-LABlab(57.74, 17.23, -61.00)
CIE-LCHlch(57.74, 63.38, 285.77°)
OKLaboklab(64.14% -0.0225 -0.1746)
OKLCHoklch(64.14% 0.176 262.7)
XYZxyz(28.6009, 25.6844, 90.6212)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5087F6 #F6BF50
analogous
#50DAF6 #5087F6 #6C50F6
triadic
#5087F6 #F65087 #87F650
tetradic
#5087F6 #F650DA #F6BF50 #50F66C
square
#5087F6 #F650DA #F6BF50 #50F66C
split-complementary
#5087F6 #F66C50 #DAF650
monochromatic
#0A47C2 #165FF3 #5087F6 #8AAFF9 #C4D7FC

Accessibility & contrast

On white

3.42
#5087F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5087F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5087F6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5087F6#FFFFFF#000000##000000
##5087F61.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FA
Deuteranopia (green-blind)
#2F84F4
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5087f6;
/* rgb */ color: rgb(80, 135, 246);
/* oklch */ color: oklch(64.1% 0.176 262.7);
Tailwind
colors: {
  custom: {
    50: '#92a9fa',
    500: '#5087f6',
    950: '#000000',
  },
}
SCSS
$custom: #5087f6;
$custom-light: #92a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5087f6",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 220.12,
    "s": 90.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64139,
    "c": 0.17602,
    "h": 262.7
  },
  "luminance": 0.25687
}

Semantic roles & 50–950 ramp

primary
#5087F6
secondary
#EEDBB4
accent
#9900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5087F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5087F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva