#5048CF#5048CF

#5048CF is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.201 H 278.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5048CF
RGBrgb(80, 72, 207)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(61.4%, 65.2%, 0%, 18.8%)
CIE-LABlab(39.32, 42.64, -68.80)
CIE-LCHlch(39.32, 80.94, 301.79°)
OKLaboklab(49.47% 0.0306 -0.1982)
OKLCHoklch(49.47% 0.201 278.8)
XYZxyz(16.8845, 10.8439, 60.2227)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5048CF #C7CF48
analogous
#4883CF #5048CF #9448CF
triadic
#5048CF #CF5048 #48CF50
tetradic
#5048CF #CF4883 #C7CF48 #48CF94
square
#5048CF #CF4883 #C7CF48 #48CF94
split-complementary
#5048CF #CF9448 #83CF48
monochromatic
#26217C #352DAD #5048CF #7E78DC #ADA9E8

Accessibility & contrast

On white

6.63
#5048CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5048CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5048CF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5048CF#FFFFFF#000000##FFFFFF
##5048CF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5048cf;
/* rgb */ color: rgb(80, 72, 207);
/* oklch */ color: oklch(49.5% 0.201 278.8);
Tailwind
colors: {
  custom: {
    50: '#8f7cdf',
    500: '#5048cf',
    950: '#000000',
  },
}
SCSS
$custom: #5048cf;
$custom-light: #8f7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5048cf",
  "rgb": {
    "r": 80,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 243.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.20055,
    "h": 278.8
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#5048CF
secondary
#D2D69D
accent
#E246D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5048CF

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

Preview Lab → · Contrast checker → · Palette generator →

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