#5054DA#5054DA

#5054DA is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.200 H 275.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5054DA
RGBrgb(80, 84, 218)
HSLhsl(238, 65%, 58%)
HSVhsv(238, 63%, 85%)
CMYKcmyk(63.3%, 61.5%, 0%, 14.5%)
CIE-LABlab(42.92, 39.04, -69.23)
CIE-LCHlch(42.92, 79.47, 299.42°)
OKLaboklab(52.38% 0.0199 -0.1994)
OKLCHoklch(52.38% 0.2 275.7)
XYZxyz(19.1293, 13.1065, 67.8378)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5054DA #DAD650
analogous
#5099DA #5054DA #9150DA
triadic
#5054DA #DA5054 #54DA50
tetradic
#5054DA #DA5099 #DAD650 #50DA91
square
#5054DA #DA5099 #DAD650 #50DA91
split-complementary
#5054DA #DA9150 #99DA50
monochromatic
#1F2291 #292EC3 #5054DA #8385E5 #B5B7EF

Accessibility & contrast

On white

5.80
#5054DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5054DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5054DA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5054DA#FFFFFF#000000##FFFFFF
##5054DA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5054da;
/* rgb */ color: rgb(80, 84, 218);
/* oklch */ color: oklch(52.4% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#9084e6',
    500: '#5054da',
    950: '#000000',
  },
}
SCSS
$custom: #5054da;
$custom-light: #9084e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5054da",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 238.261,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.2004,
    "h": 275.7
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#5054DA
secondary
#DEDDA8
accent
#E340E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5054DA

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

Preview Lab → · Contrast checker → · Palette generator →

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