#5057DC#5057DC

#5057DC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.199 H 275.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5057DC
RGBrgb(80, 87, 220)
HSLhsl(237, 67%, 59%)
HSVhsv(237, 64%, 86%)
CMYKcmyk(63.6%, 60.5%, 0%, 13.7%)
CIE-LABlab(43.78, 37.87, -68.97)
CIE-LCHlch(43.78, 78.68, 298.77°)
OKLaboklab(53.06% 0.0174 -0.1986)
OKLCHoklch(53.06% 0.199 275)
XYZxyz(19.6305, 13.6875, 69.3037)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5057DC #DCD550
analogous
#509DDC #5057DC #8F50DC
triadic
#5057DC #DC5057 #57DC50
tetradic
#5057DC #DC509D #DCD550 #50DC8F
square
#5057DC #DC509D #DCD550 #50DC8F
split-complementary
#5057DC #DC8F50 #9DDC50
monochromatic
#1E2494 #2830C7 #5057DC #8388E6 #B6B9F0

Accessibility & contrast

On white

5.62
#5057DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5057DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5057DC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5057DC#FFFFFF#000000##FFFFFF
##5057DC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5057dc;
/* rgb */ color: rgb(80, 87, 220);
/* oklch */ color: oklch(53.1% 0.199 275.0);
Tailwind
colors: {
  custom: {
    50: '#9086e8',
    500: '#5057dc',
    950: '#000000',
  },
}
SCSS
$custom: #5057dc;
$custom-light: #9086e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5057dc",
  "rgb": {
    "r": 80,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 237,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.19939,
    "h": 275
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#5057DC
secondary
#DFDDA8
accent
#E13EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5057DC

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

Preview Lab → · Contrast checker → · Palette generator →

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