#5046D8#5046D8

#5046D8 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.214 H 278.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5046D8
RGBrgb(80, 70, 216)
HSLhsl(244, 65%, 56%)
HSVhsv(244, 68%, 85%)
CMYKcmyk(63%, 67.6%, 0%, 15.3%)
CIE-LABlab(39.65, 46.66, -73.43)
CIE-LCHlch(39.65, 87.00, 302.44°)
OKLaboklab(49.95% 0.031 -0.2118)
OKLCHoklch(49.95% 0.214 278.3)
XYZxyz(17.8891, 11.0422, 66.1411)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5046D8 #CED846
analogous
#4685D8 #5046D8 #9946D8
triadic
#5046D8 #D85046 #46D850
tetradic
#5046D8 #D84685 #CED846 #46D899
square
#5046D8 #D84685 #CED846 #46D899
split-complementary
#5046D8 #D89946 #85D846
monochromatic
#241C87 #3127BA #5046D8 #8079E3 #B0ABED

Accessibility & contrast

On white

6.54
#5046D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5046D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5046D8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5046D8#FFFFFF#000000##FFFFFF
##5046D81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5046d8;
/* rgb */ color: rgb(80, 70, 216);
/* oklch */ color: oklch(49.9% 0.214 278.3);
Tailwind
colors: {
  custom: {
    50: '#907be5',
    500: '#5046d8',
    950: '#000000',
  },
}
SCSS
$custom: #5046d8;
$custom-light: #907be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5046d8",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 244.11,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.21405,
    "h": 278.3
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#5046D8
secondary
#D7DB9F
accent
#E840DD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5046D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5046D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva