#5059BF#5059BF

#5059BF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.158 H 275.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5059BF
RGBrgb(80, 89, 191)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(58.1%, 53.4%, 0%, 25.1%)
CIE-LABlab(42.17, 26.95, -54.88)
CIE-LCHlch(42.17, 61.14, 296.16°)
OKLaboklab(51.2% 0.0152 -0.1572)
OKLCHoklch(51.2% 0.158 275.5)
XYZxyz(16.2816, 12.6106, 50.8562)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5059BF #BFB650
analogous
#5090BF #5059BF #7E50BF
triadic
#5059BF #BF5059 #59BF50
tetradic
#5059BF #BF5090 #BFB650 #50BF7E
square
#5059BF #BF5090 #BFB650 #50BF7E
split-complementary
#5059BF #BF7E50 #90BF50
monochromatic
#282D6D #38409A #5059BF #7D84CF #AAAEE0

Accessibility & contrast

On white

5.96
#5059BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5059BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5059BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5059BF#FFFFFF#000000##FFFFFF
##5059BF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5059bf;
/* rgb */ color: rgb(80, 89, 191);
/* oklch */ color: oklch(51.2% 0.158 275.5);
Tailwind
colors: {
  custom: {
    50: '#8b87d3',
    500: '#5059bf',
    950: '#000000',
  },
}
SCSS
$custom: #5059bf;
$custom-light: #8b87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5059bf",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 235.135,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.15792,
    "h": 275.5
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#5059BF
secondary
#CDC99D
accent
#CB52D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5059BF

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

Preview Lab → · Contrast checker → · Palette generator →

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