#5057E2#5057E2

#5057E2 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.207 H 274.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5057E2
RGBrgb(80, 87, 226)
HSLhsl(237, 72%, 60%)
HSVhsv(237, 65%, 89%)
CMYKcmyk(64.6%, 61.5%, 0%, 11.4%)
CIE-LABlab(44.25, 39.86, -71.62)
CIE-LCHlch(44.25, 81.96, 299.10°)
OKLaboklab(53.55% 0.0171 -0.2064)
OKLCHoklch(53.55% 0.207 274.7)
XYZxyz(20.4394, 14.0111, 73.5640)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5057E2 #E2DB50
analogous
#50A0E2 #5057E2 #9250E2
triadic
#5057E2 #E25057 #57E250
tetradic
#5057E2 #E250A0 #E2DB50 #50E292
square
#5057E2 #E250A0 #E2DB50 #50E292
split-complementary
#5057E2 #E29250 #A0E250
monochromatic
#1A209E #232BD2 #5057E2 #8489EB #B9BCF3

Accessibility & contrast

On white

5.52
#5057E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5057E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5057E2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5057E2#FFFFFF#000000##FFFFFF
##5057E21.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)
#006FE6
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5057e2;
/* rgb */ color: rgb(80, 87, 226);
/* oklch */ color: oklch(53.5% 0.207 274.7);
Tailwind
colors: {
  custom: {
    50: '#9186ec',
    500: '#5057e2',
    950: '#000000',
  },
}
SCSS
$custom: #5057e2;
$custom-light: #9186ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5057e2",
  "rgb": {
    "r": 80,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 237.123,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.20712,
    "h": 274.7
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5057E2

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

Preview Lab → · Contrast checker → · Palette generator →

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