#5046CE#5046CE

#5046CE is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.202 H 279.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5046CE
RGBrgb(80, 70, 206)
HSLhsl(244, 58%, 54%)
HSVhsv(244, 66%, 81%)
CMYKcmyk(61.2%, 66%, 0%, 19.2%)
CIE-LABlab(38.80, 43.50, -69.07)
CIE-LCHlch(38.80, 81.63, 302.20°)
OKLaboklab(49.07% 0.0323 -0.199)
OKLCHoklch(49.07% 0.202 279.2)
XYZxyz(16.6355, 10.5408, 59.5385)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5046CE #C4CE46
analogous
#4680CE #5046CE #9446CE
triadic
#5046CE #CE5046 #46CE50
tetradic
#5046CE #CE4680 #C4CE46 #46CE94
square
#5046CE #CE4680 #C4CE46 #46CE94
split-complementary
#5046CE #CE9446 #80CE46
monochromatic
#272079 #362DAA #5046CE #7E76DB #ACA7E8

Accessibility & contrast

On white

6.76
#5046CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5046CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5046CE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5046CE#FFFFFF#000000##FFFFFF
##5046CE1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5046ce;
/* rgb */ color: rgb(80, 70, 206);
/* oklch */ color: oklch(49.1% 0.202 279.2);
Tailwind
colors: {
  custom: {
    50: '#8f7ade',
    500: '#5046ce',
    950: '#000000',
  },
}
SCSS
$custom: #5046ce;
$custom-light: #8f7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5046ce",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 244.412,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.20161,
    "h": 279.2
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#5046CE
secondary
#D1D59B
accent
#E146D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5046CE

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

Preview Lab → · Contrast checker → · Palette generator →

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