#5057DA#5057DA

#5057DA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.197 H 275.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5057DA
RGBrgb(80, 87, 218)
HSLhsl(237, 65%, 58%)
HSVhsv(237, 63%, 85%)
CMYKcmyk(63.3%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.63, 37.21, -68.08)
CIE-LCHlch(43.63, 77.58, 298.66°)
OKLaboklab(52.9% 0.0174 -0.196)
OKLCHoklch(52.9% 0.197 275.1)
XYZxyz(19.3672, 13.5822, 67.9171)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5057DA #DAD350
analogous
#509CDA #5057DA #8E50DA
triadic
#5057DA #DA5057 #57DA50
tetradic
#5057DA #DA509C #DAD350 #50DA8E
square
#5057DA #DA509C #DAD350 #50DA8E
split-complementary
#5057DA #DA8E50 #9CDA50
monochromatic
#1F2491 #2931C3 #5057DA #8387E5 #B5B8EF

Accessibility & contrast

On white

5.65
#5057DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5057DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5057DA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5057DA#FFFFFF#000000##FFFFFF
##5057DA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5057da;
/* rgb */ color: rgb(80, 87, 218);
/* oklch */ color: oklch(52.9% 0.197 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f86e6',
    500: '#5057da',
    950: '#000000',
  },
}
SCSS
$custom: #5057da;
$custom-light: #8f86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5057da",
  "rgb": {
    "r": 80,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 236.957,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.19679,
    "h": 275.1
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#5057DA
secondary
#DEDCA8
accent
#E040E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5057DA

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

Preview Lab → · Contrast checker → · Palette generator →

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