#5059DC#5059DC

#5059DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.197 H 274.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5059DC
RGBrgb(80, 89, 220)
HSLhsl(236, 67%, 59%)
HSVhsv(236, 64%, 86%)
CMYKcmyk(63.6%, 59.5%, 0%, 13.7%)
CIE-LABlab(44.26, 36.65, -68.20)
CIE-LCHlch(44.26, 77.42, 298.26°)
OKLaboklab(53.41% 0.0157 -0.1963)
OKLCHoklch(53.41% 0.197 274.6)
XYZxyz(19.7947, 14.0159, 69.3585)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5059DC #DCD350
analogous
#509FDC #5059DC #8D50DC
triadic
#5059DC #DC5059 #59DC50
tetradic
#5059DC #DC509F #DCD350 #50DC8D
square
#5059DC #DC509F #DCD350 #50DC8D
split-complementary
#5059DC #DC8D50 #9FDC50
monochromatic
#1E2594 #2832C7 #5059DC #8389E6 #B6BAF0

Accessibility & contrast

On white

5.52
#5059DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5059DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5059DC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5059DC#FFFFFF#000000##FFFFFF
##5059DC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5059dc;
/* rgb */ color: rgb(80, 89, 220);
/* oklch */ color: oklch(53.4% 0.197 274.6);
Tailwind
colors: {
  custom: {
    50: '#9088e8',
    500: '#5059dc',
    950: '#000000',
  },
}
SCSS
$custom: #5059dc;
$custom-light: #9088e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5059dc",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 236.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.19698,
    "h": 274.6
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#5059DC
secondary
#DFDCA8
accent
#DF3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5059DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5059DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva