#4945C5#4945C5

#4945C5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.193 H 277.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4945C5
RGBrgb(73, 69, 197)
HSLhsl(242, 52%, 52%)
HSVhsv(242, 65%, 77%)
CMYKcmyk(62.9%, 65%, 0%, 22.7%)
CIE-LABlab(37.30, 40.15, -66.31)
CIE-LCHlch(37.30, 77.51, 301.19°)
OKLaboklab(47.62% 0.0253 -0.1911)
OKLCHoklch(47.62% 0.193 277.5)
XYZxyz(14.9506, 9.7027, 53.8975)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945C5 #C1C545
analogous
#4581C5 #4945C5 #8945C5
triadic
#4945C5 #C54945 #45C549
tetradic
#4945C5 #C54581 #C1C545 #45C589
square
#4945C5 #C54581 #C1C545 #45C589
split-complementary
#4945C5 #C58945 #81C545
monochromatic
#24226D #34319C #4945C5 #7774D4 #A4A2E2

Accessibility & contrast

On white

7.14
#4945C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4945C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945C5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945C5#FFFFFF#000000##FFFFFF
##4945C51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4945c5;
/* rgb */ color: rgb(73, 69, 197);
/* oklch */ color: oklch(47.6% 0.193 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a79d8',
    500: '#4945c5',
    950: '#000000',
  },
}
SCSS
$custom: #4945c5;
$custom-light: #8a79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4945c5",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 241.875,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.19278,
    "h": 277.5
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#4945C5
secondary
#CDCF97
accent
#DC4CD7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4945C5

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

Preview Lab → · Contrast checker → · Palette generator →

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