#5076EB#5076EB

#5076EB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.0% C 0.181 H 267.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5076EB
RGBrgb(80, 118, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 66%, 92%)
CMYKcmyk(66%, 49.8%, 0%, 7.8%)
CIE-LABlab(52.57, 23.83, -63.19)
CIE-LCHlch(52.57, 67.53, 290.66°)
OKLaboklab(59.98% -0.0088 -0.1813)
OKLCHoklch(59.98% 0.181 267.2)
XYZxyz(24.7769, 20.6581, 81.2628)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5076EB #EBC550
analogous
#50C4EB #5076EB #7850EB
triadic
#5076EB #EB5076 #76EB50
tetradic
#5076EB #EB50C4 #EBC550 #50EB78
square
#5076EB #EB50C4 #EBC550 #50EB78
split-complementary
#5076EB #EB7850 #C4EB50
monochromatic
#1439AD #1A4BE4 #5076EB #87A1F1 #BECCF8

Accessibility & contrast

On white

4.09
#5076EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5076EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5076EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5076EB#FFFFFF#000000##000000
##5076EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5076eb;
/* rgb */ color: rgb(80, 118, 235);
/* oklch */ color: oklch(60.0% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#919df2',
    500: '#5076eb',
    950: '#000000',
  },
}
SCSS
$custom: #5076eb;
$custom-light: #919df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5076eb",
  "rgb": {
    "r": 80,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 225.29,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.18147,
    "h": 267.2
  },
  "luminance": 0.2066
}

Semantic roles & 50–950 ramp

primary
#5076EB
secondary
#E8DAAF
accent
#A80ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5076EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5076EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva