#5046BB#5046BB

#5046BB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.177 H 281.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5046BB
RGBrgb(80, 70, 187)
HSLhsl(245, 46%, 50%)
HSVhsv(245, 63%, 73%)
CMYKcmyk(57.2%, 62.6%, 0%, 26.7%)
CIE-LABlab(37.25, 37.43, -60.52)
CIE-LCHlch(37.25, 71.16, 301.74°)
OKLaboklab(47.46% 0.0341 -0.1739)
OKLCHoklch(47.46% 0.177 281.1)
XYZxyz(14.4653, 9.6727, 48.1088)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5046BB #B1BB46
analogous
#4676BB #5046BB #8A46BB
triadic
#5046BB #BB5046 #46BB50
tetradic
#5046BB #BB4676 #B1BB46 #46BB8A
square
#5046BB #BB4676 #B1BB46 #46BB8A
split-complementary
#5046BB #BB8A46 #76BB46
monochromatic
#292462 #3C358F #5046BB #7A73CB #A5A0DC

Accessibility & contrast

On white

7.16
#5046BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5046BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5046BB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5046BB#FFFFFF#000000##FFFFFF
##5046BB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#14637A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5046bb;
/* rgb */ color: rgb(80, 70, 187);
/* oklch */ color: oklch(47.5% 0.177 281.1);
Tailwind
colors: {
  custom: {
    50: '#8b7ad0',
    500: '#5046bb',
    950: '#000000',
  },
}
SCSS
$custom: #5046bb;
$custom-light: #8b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5046bb",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 245.128,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.17723,
    "h": 281.1
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#5046BB
secondary
#C4C894
accent
#D652CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5046BB

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

Preview Lab → · Contrast checker → · Palette generator →

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