#5046CF#5046CF

#5046CF is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.203 H 279.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5046CF
RGBrgb(80, 70, 207)
HSLhsl(244, 59%, 54%)
HSVhsv(244, 66%, 81%)
CMYKcmyk(61.4%, 66.2%, 0%, 18.8%)
CIE-LABlab(38.88, 43.81, -69.51)
CIE-LCHlch(38.88, 82.17, 302.22°)
OKLaboklab(49.15% 0.0322 -0.2003)
OKLCHoklch(49.15% 0.203 279.1)
XYZxyz(16.7573, 10.5895, 60.1803)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5046CF #C5CF46
analogous
#4680CF #5046CF #9546CF
triadic
#5046CF #CF5046 #46CF50
tetradic
#5046CF #CF4680 #C5CF46 #46CF95
square
#5046CF #CF4680 #C5CF46 #46CF95
split-complementary
#5046CF #CF9546 #80CF46
monochromatic
#26207B #362CAB #5046CF #7E77DC #ACA7E8

Accessibility & contrast

On white

6.73
#5046CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5046CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5046CF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5046CF#FFFFFF#000000##FFFFFF
##5046CF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5046cf;
/* rgb */ color: rgb(80, 70, 207);
/* oklch */ color: oklch(49.2% 0.203 279.1);
Tailwind
colors: {
  custom: {
    50: '#8f7adf',
    500: '#5046cf',
    950: '#000000',
  },
}
SCSS
$custom: #5046cf;
$custom-light: #8f7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5046cf",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 244.38,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.20287,
    "h": 279.1
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5046CF

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

Preview Lab → · Contrast checker → · Palette generator →

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