#5057EF#5057EF

#5057EF is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.224 H 274.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5057EF
RGBrgb(80, 87, 239)
HSLhsl(237, 83%, 63%)
HSVhsv(237, 67%, 94%)
CMYKcmyk(66.5%, 63.6%, 0%, 6.3%)
CIE-LABlab(45.29, 44.15, -77.25)
CIE-LCHlch(45.29, 88.98, 299.75°)
OKLaboklab(54.64% 0.0163 -0.2229)
OKLCHoklch(54.64% 0.224 274.2)
XYZxyz(22.2913, 14.7518, 83.3173)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5057EF #EFE850
analogous
#50A7EF #5057EF #9850EF
triadic
#5057EF #EF5057 #57EF50
tetradic
#5057EF #EF50A7 #EFE850 #50EF98
square
#5057EF #EF50A7 #EFE850 #50EF98
split-complementary
#5057EF #EF9850 #A7EF50
monochromatic
#1018B4 #1821EA #5057EF #888DF4 #C0C3F9

Accessibility & contrast

On white

5.32
#5057EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5057EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5057EF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5057EF#FFFFFF#000000##FFFFFF
##5057EF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5057ef;
/* rgb */ color: rgb(80, 87, 239);
/* oklch */ color: oklch(54.6% 0.224 274.2);
Tailwind
colors: {
  custom: {
    50: '#9387f5',
    500: '#5057ef',
    950: '#000000',
  },
}
SCSS
$custom: #5057ef;
$custom-light: #9387f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5057ef",
  "rgb": {
    "r": 80,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 237.358,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.22355,
    "h": 274.2
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#5057EF
secondary
#EAE8B0
accent
#D606E0
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5057EF

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

Preview Lab → · Contrast checker → · Palette generator →

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