#5046CD#5046CD

#5046CD is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.200 H 279.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5046CD
RGBrgb(80, 70, 205)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61%, 65.9%, 0%, 19.6%)
CIE-LABlab(38.71, 43.18, -68.63)
CIE-LCHlch(38.71, 81.08, 302.18°)
OKLaboklab(48.98% 0.0324 -0.1977)
OKLCHoklch(48.98% 0.2 279.3)
XYZxyz(16.5144, 10.4923, 58.9007)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5046CD #C3CD46
analogous
#4680CD #5046CD #9446CD
triadic
#5046CD #CD5046 #46CD50
tetradic
#5046CD #CD4680 #C3CD46 #46CD94
square
#5046CD #CD4680 #C3CD46 #46CD94
split-complementary
#5046CD #CD9446 #80CD46
monochromatic
#272078 #372DA8 #5046CD #7E76DA #ABA6E7

Accessibility & contrast

On white

6.78
#5046CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5046CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5046CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5046CD#FFFFFF#000000##FFFFFF
##5046CD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5046cd;
/* rgb */ color: rgb(80, 70, 205);
/* oklch */ color: oklch(49.0% 0.200 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e7add',
    500: '#5046cd',
    950: '#000000',
  },
}
SCSS
$custom: #5046cd;
$custom-light: #8e7add;
$custom-dark: #000000;
JSON
{
  "hex": "#5046cd",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 244.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.20036,
    "h": 279.3
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#5046CD
secondary
#D0D49B
accent
#E147D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5046CD

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

Preview Lab → · Contrast checker → · Palette generator →

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