#5076DB#5076DB

#5076DB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.160 H 266.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5076DB
RGBrgb(80, 118, 219)
HSLhsl(224, 66%, 59%)
HSVhsv(224, 63%, 86%)
CMYKcmyk(63.5%, 46.1%, 0%, 14.1%)
CIE-LABlab(51.58, 18.32, -55.79)
CIE-LCHlch(51.58, 58.72, 288.18°)
OKLaboklab(58.9% -0.0108 -0.1595)
OKLCHoklch(58.9% 0.16 266.1)
XYZxyz(22.5685, 19.7748, 69.6317)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5076DB #DBB550
analogous
#50BBDB #5076DB #6F50DB
triadic
#5076DB #DB5076 #76DB50
tetradic
#5076DB #DB50BB #DBB550 #50DB6F
square
#5076DB #DB50BB #DBB550 #50DB6F
split-complementary
#5076DB #DB6F50 #BBDB50
monochromatic
#1E3E92 #2953C5 #5076DB #839EE5 #B6C5F0

Accessibility & contrast

On white

4.24
#5076DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5076DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5076DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5076DB#FFFFFF#000000##000000
##5076DB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5076db;
/* rgb */ color: rgb(80, 118, 219);
/* oklch */ color: oklch(58.9% 0.160 266.1);
Tailwind
colors: {
  custom: {
    50: '#8e9de7',
    500: '#5076db',
    950: '#000000',
  },
}
SCSS
$custom: #5076db;
$custom-light: #8e9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5076db",
  "rgb": {
    "r": 80,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 223.597,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.15988,
    "h": 266.1
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#5076DB
secondary
#DFD0A8
accent
#BA3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5076DB

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

Preview Lab → · Contrast checker → · Palette generator →

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