#4945BC#4945BC

#4945BC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.181 H 278.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4945BC
RGBrgb(73, 69, 188)
HSLhsl(242, 47%, 50%)
HSVhsv(242, 63%, 74%)
CMYKcmyk(61.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(36.56, 37.19, -62.25)
CIE-LCHlch(36.56, 72.52, 300.85°)
OKLaboklab(46.85% 0.0261 -0.1792)
OKLCHoklch(46.85% 0.181 278.3)
XYZxyz(13.9500, 9.3025, 48.6276)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945BC #B8BC45
analogous
#457CBC #4945BC #8545BC
triadic
#4945BC #BC4945 #45BC49
tetradic
#4945BC #BC457C #B8BC45 #45BC85
square
#4945BC #BC457C #B8BC45 #45BC85
split-complementary
#4945BC #BC8545 #7CBC45
monochromatic
#262463 #373490 #4945BC #7572CC #A19FDC

Accessibility & contrast

On white

7.34
#4945BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4945BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945BC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945BC#FFFFFF#000000##FFFFFF
##4945BC1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4945bc;
/* rgb */ color: rgb(73, 69, 188);
/* oklch */ color: oklch(46.8% 0.181 278.3);
Tailwind
colors: {
  custom: {
    50: '#8879d1',
    500: '#4945bc',
    950: '#000000',
  },
}
SCSS
$custom: #4945bc;
$custom-light: #8879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4945bc",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 242.017,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.1811,
    "h": 278.3
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#4945BC
secondary
#C7C994
accent
#D751D2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4945BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4945BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva