#5048D4#5048D4

#5048D4 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.207 H 278.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5048D4
RGBrgb(80, 72, 212)
HSLhsl(243, 62%, 56%)
HSVhsv(243, 66%, 83%)
CMYKcmyk(62.3%, 66%, 0%, 16.9%)
CIE-LABlab(39.74, 44.24, -71.00)
CIE-LCHlch(39.74, 83.65, 301.93°)
OKLaboklab(49.9% 0.03 -0.2046)
OKLCHoklch(49.9% 0.207 278.3)
XYZxyz(17.5055, 11.0923, 63.4931)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5048D4 #CCD448
analogous
#4886D4 #5048D4 #9648D4
triadic
#5048D4 #D45048 #48D450
tetradic
#5048D4 #D44886 #CCD448 #48D496
square
#5048D4 #D44886 #CCD448 #48D496
split-complementary
#5048D4 #D49648 #86D448
monochromatic
#241F83 #322AB4 #5048D4 #7F7AE0 #AFABEB

Accessibility & contrast

On white

6.52
#5048D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5048D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5048D4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5048D4#FFFFFF#000000##FFFFFF
##5048D41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5048d4;
/* rgb */ color: rgb(80, 72, 212);
/* oklch */ color: oklch(49.9% 0.207 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f7ce2',
    500: '#5048d4',
    950: '#000000',
  },
}
SCSS
$custom: #5048d4;
$custom-light: #8f7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#5048d4",
  "rgb": {
    "r": 80,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 243.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49903,
    "c": 0.20684,
    "h": 278.3
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#5048D4
secondary
#D6D99F
accent
#E543DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5048D4

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

Preview Lab → · Contrast checker → · Palette generator →

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