#5060DE#5060DE

#5060DE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.191 H 272.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5060DE
RGBrgb(80, 96, 222)
HSLhsl(233, 68%, 59%)
HSVhsv(233, 64%, 87%)
CMYKcmyk(64%, 56.8%, 0%, 12.9%)
CIE-LABlab(46.10, 33.01, -66.33)
CIE-LCHlch(46.10, 74.09, 296.46°)
OKLaboklab(54.83% 0.0097 -0.1908)
OKLCHoklch(54.83% 0.191 272.9)
XYZxyz(20.6716, 15.3433, 70.9653)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5060DE #DECE50
analogous
#50A7DE #5060DE #8750DE
triadic
#5060DE #DE5060 #60DE50
tetradic
#5060DE #DE50A7 #DECE50 #50DE87
square
#5060DE #DE50A7 #DECE50 #50DE87
split-complementary
#5060DE #DE8750 #A7DE50
monochromatic
#1C2A97 #2639CB #5060DE #838FE8 #B7BEF1

Accessibility & contrast

On white

5.16
#5060DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5060DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5060DE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5060DE#FFFFFF#000000##FFFFFF
##5060DE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5060de;
/* rgb */ color: rgb(80, 96, 222);
/* oklch */ color: oklch(54.8% 0.191 272.9);
Tailwind
colors: {
  custom: {
    50: '#908de9',
    500: '#5060de',
    950: '#000000',
  },
}
SCSS
$custom: #5060de;
$custom-light: #908de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5060de",
  "rgb": {
    "r": 80,
    "g": 96,
    "b": 222
  },
  "hsl": {
    "h": 233.239,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.19105,
    "h": 272.9
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#5060DE
secondary
#E1DAA9
accent
#D73DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5060DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5060DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva