#5059E2#5059E2

#5059E2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.9% C 0.205 H 274.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5059E2
RGBrgb(80, 89, 226)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(64.6%, 60.6%, 0%, 11.4%)
CIE-LABlab(44.72, 38.65, -70.86)
CIE-LCHlch(44.72, 80.71, 298.61°)
OKLaboklab(53.89% 0.0155 -0.2042)
OKLCHoklch(53.89% 0.205 274.3)
XYZxyz(20.6036, 14.3394, 73.6188)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5059E2 #E2D950
analogous
#50A2E2 #5059E2 #9050E2
triadic
#5059E2 #E25059 #59E250
tetradic
#5059E2 #E250A2 #E2D950 #50E290
square
#5059E2 #E250A2 #E2D950 #50E290
split-complementary
#5059E2 #E29050 #A2E250
monochromatic
#1A229E #232ED2 #5059E2 #848BEB #B9BDF3

Accessibility & contrast

On white

5.43
#5059E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5059E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5059E2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5059E2#FFFFFF#000000##FFFFFF
##5059E21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5059e2;
/* rgb */ color: rgb(80, 89, 226);
/* oklch */ color: oklch(53.9% 0.205 274.3);
Tailwind
colors: {
  custom: {
    50: '#9188ec',
    500: '#5059e2',
    950: '#000000',
  },
}
SCSS
$custom: #5059e2;
$custom-light: #9188ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5059e2",
  "rgb": {
    "r": 80,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 236.301,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.20475,
    "h": 274.3
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#5059E2
secondary
#E3E0AB
accent
#E339EE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5059E2

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

Preview Lab → · Contrast checker → · Palette generator →

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