#5087F2#5087F2

#5087F2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.171 H 262.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5087F2
RGBrgb(80, 135, 242)
HSLhsl(220, 86%, 63%)
HSVhsv(220, 67%, 95%)
CMYKcmyk(66.9%, 44.2%, 0%, 5.1%)
CIE-LABlab(57.50, 15.84, -59.16)
CIE-LCHlch(57.50, 61.24, 284.99°)
OKLaboklab(63.88% -0.0232 -0.1692)
OKLCHoklch(63.88% 0.171 262.2)
XYZxyz(27.9936, 25.4414, 87.4226)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5087F2 #F2BB50
analogous
#50D8F2 #5087F2 #6A50F2
triadic
#5087F2 #F25087 #87F250
tetradic
#5087F2 #F250D8 #F2BB50 #50F26A
square
#5087F2 #F250D8 #F2BB50 #50F26A
split-complementary
#5087F2 #F26A50 #D8F250
monochromatic
#0E48BA #1760EE #5087F2 #89AEF6 #C2D5FA

Accessibility & contrast

On white

3.45
#5087F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5087F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5087F2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5087F2#FFFFFF#000000##000000
##5087F21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5087f2;
/* rgb */ color: rgb(80, 135, 242);
/* oklch */ color: oklch(63.9% 0.171 262.2);
Tailwind
colors: {
  custom: {
    50: '#91a9f7',
    500: '#5087f2',
    950: '#000000',
  },
}
SCSS
$custom: #5087f2;
$custom-light: #91a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5087f2",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 219.63,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63884,
    "c": 0.17075,
    "h": 262.2
  },
  "luminance": 0.25444
}

Semantic roles & 50–950 ramp

primary
#5087F2
secondary
#ECD8B2
accent
#9703E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5087F2

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

Preview Lab → · Contrast checker → · Palette generator →

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