#5057DF#5057DF

#5057DF is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.3% C 0.203 H 274.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5057DF
RGBrgb(80, 87, 223)
HSLhsl(237, 69%, 59%)
HSVhsv(237, 64%, 87%)
CMYKcmyk(64.1%, 61%, 0%, 12.5%)
CIE-LABlab(44.01, 38.87, -70.30)
CIE-LCHlch(44.01, 80.33, 298.94°)
OKLaboklab(53.3% 0.0173 -0.2025)
OKLCHoklch(53.3% 0.203 274.9)
XYZxyz(20.0314, 13.8479, 71.4150)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5057DF #DFD850
analogous
#509FDF #5057DF #9150DF
triadic
#5057DF #DF5057 #57DF50
tetradic
#5057DF #DF509F #DFD850 #50DF91
square
#5057DF #DF509F #DFD850 #50DF91
split-complementary
#5057DF #DF9150 #9FDF50
monochromatic
#1C2299 #252ECC #5057DF #8489E8 #B7BAF2

Accessibility & contrast

On white

5.57
#5057DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5057DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5057DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5057DF#FFFFFF#000000##FFFFFF
##5057DF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5057df;
/* rgb */ color: rgb(80, 87, 223);
/* oklch */ color: oklch(53.3% 0.203 274.9);
Tailwind
colors: {
  custom: {
    50: '#9086ea',
    500: '#5057df',
    950: '#000000',
  },
}
SCSS
$custom: #5057df;
$custom-light: #9086ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5057df",
  "rgb": {
    "r": 80,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 237.063,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.20326,
    "h": 274.9
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#5057DF
secondary
#E1DFAA
accent
#E33CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5057DF

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

Preview Lab → · Contrast checker → · Palette generator →

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