#5060E2#5060E2

#5060E2 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.196 H 272.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5060E2
RGBrgb(80, 96, 226)
HSLhsl(233, 72%, 60%)
HSVhsv(233, 65%, 89%)
CMYKcmyk(64.6%, 57.5%, 0%, 11.4%)
CIE-LABlab(46.39, 34.36, -68.13)
CIE-LCHlch(46.39, 76.30, 296.77°)
OKLaboklab(55.14% 0.0098 -0.1961)
OKLCHoklch(55.14% 0.196 272.9)
XYZxyz(21.2140, 15.5603, 73.8222)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5060E2 #E2D250
analogous
#50A9E2 #5060E2 #8950E2
triadic
#5060E2 #E25060 #60E250
tetradic
#5060E2 #E250A9 #E2D250 #50E289
square
#5060E2 #E250A9 #E2D250 #50E289
split-complementary
#5060E2 #E28950 #A9E250
monochromatic
#1A289E #2336D2 #5060E2 #8490EB #B9BFF3

Accessibility & contrast

On white

5.11
#5060E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5060E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5060E2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5060E2#FFFFFF#000000##FFFFFF
##5060E21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5060e2;
/* rgb */ color: rgb(80, 96, 226);
/* oklch */ color: oklch(55.1% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#908dec',
    500: '#5060e2',
    950: '#000000',
  },
}
SCSS
$custom: #5060e2;
$custom-light: #908dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5060e2",
  "rgb": {
    "r": 80,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 233.425,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.55135,
    "c": 0.19632,
    "h": 272.9
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#5060E2
secondary
#E3DDAB
accent
#DA39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5060E2

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

Preview Lab → · Contrast checker → · Palette generator →

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