#5048D2#5048D2

#5048D2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.7% C 0.204 H 278.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5048D2
RGBrgb(80, 72, 210)
HSLhsl(243, 61%, 55%)
HSVhsv(243, 66%, 82%)
CMYKcmyk(61.9%, 65.7%, 0%, 17.6%)
CIE-LABlab(39.57, 43.60, -70.12)
CIE-LCHlch(39.57, 82.57, 301.87°)
OKLaboklab(49.73% 0.0303 -0.2021)
OKLCHoklch(49.73% 0.204 278.5)
XYZxyz(17.2548, 10.9920, 62.1727)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5048D2 #CAD248
analogous
#4885D2 #5048D2 #9548D2
triadic
#5048D2 #D25048 #48D250
tetradic
#5048D2 #D24885 #CAD248 #48D295
square
#5048D2 #D24885 #CAD248 #48D295
split-complementary
#5048D2 #D29548 #85D248
monochromatic
#252080 #332CB1 #5048D2 #7F79DE #AEAAEA

Accessibility & contrast

On white

6.57
#5048D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5048D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5048D2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5048D2#FFFFFF#000000##FFFFFF
##5048D21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5048d2;
/* rgb */ color: rgb(80, 72, 210);
/* oklch */ color: oklch(49.7% 0.204 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ce1',
    500: '#5048d2',
    950: '#000000',
  },
}
SCSS
$custom: #5048d2;
$custom-light: #8f7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5048d2",
  "rgb": {
    "r": 80,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 243.478,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.20433,
    "h": 278.5
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#5048D2
secondary
#D4D89E
accent
#E444DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5048D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5048D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva