#4945AC#4945AC

#4945AC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.160 H 279.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4945AC
RGBrgb(73, 69, 172)
HSLhsl(242, 43%, 47%)
HSVhsv(242, 60%, 67%)
CMYKcmyk(57.6%, 59.9%, 0%, 32.5%)
CIE-LABlab(35.30, 31.91, -54.84)
CIE-LCHlch(35.30, 63.45, 300.20°)
OKLaboklab(45.53% 0.0269 -0.1574)
OKLCHoklch(45.53% 0.16 279.7)
XYZxyz(12.3198, 8.6504, 40.0422)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945AC #A8AC45
analogous
#4575AC #4945AC #7D45AC
triadic
#4945AC #AC4945 #45AC49
tetradic
#4945AC #AC4575 #A8AC45 #45AC7D
square
#4945AC #AC4575 #A8AC45 #45AC7D
split-complementary
#4945AC #AC7D45 #75AC45
monochromatic
#242255 #363380 #4945AC #6E6BC4 #9996D5

Accessibility & contrast

On white

7.69
#4945AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4945AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945AC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945AC#FFFFFF#000000##FFFFFF
##4945AC1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#105E72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4945ac;
/* rgb */ color: rgb(73, 69, 172);
/* oklch */ color: oklch(45.5% 0.160 279.7);
Tailwind
colors: {
  custom: {
    50: '#8579c5',
    500: '#4945ac',
    950: '#000000',
  },
}
SCSS
$custom: #4945ac;
$custom-light: #8579c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4945ac",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 242.33,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45529,
    "c": 0.1597,
    "h": 279.7
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#4945AC
secondary
#BFC18C
accent
#D355CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4945AC

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

Preview Lab → · Contrast checker → · Palette generator →

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