#4945B2#4945B2

#4945B2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.168 H 279.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4945B2
RGBrgb(73, 69, 178)
HSLhsl(242, 44%, 48%)
HSVhsv(242, 61%, 70%)
CMYKcmyk(59%, 61.2%, 0%, 30.2%)
CIE-LABlab(35.76, 33.89, -57.65)
CIE-LCHlch(35.76, 66.88, 300.45°)
OKLaboklab(46.01% 0.0267 -0.1657)
OKLCHoklch(46.01% 0.168 279.1)
XYZxyz(12.9091, 8.8862, 43.1458)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945B2 #AEB245
analogous
#4577B2 #4945B2 #7F45B2
triadic
#4945B2 #B24945 #45B249
tetradic
#4945B2 #B24577 #AEB245 #45B27F
square
#4945B2 #B24577 #AEB245 #45B27F
split-complementary
#4945B2 #B27F45 #77B245
monochromatic
#25235A #373486 #4945B2 #716EC7 #9C9AD8

Accessibility & contrast

On white

7.56
#4945B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4945B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945B2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945B2#FFFFFF#000000##FFFFFF
##4945B21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4945b2;
/* rgb */ color: rgb(73, 69, 178);
/* oklch */ color: oklch(46.0% 0.168 279.1);
Tailwind
colors: {
  custom: {
    50: '#8679ca',
    500: '#4945b2',
    950: '#000000',
  },
}
SCSS
$custom: #4945b2;
$custom-light: #8679ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4945b2",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 242.202,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.16782,
    "h": 279.1
  },
  "luminance": 0.08887
}

Semantic roles & 50–950 ramp

primary
#4945B2
secondary
#C2C48F
accent
#D454CF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4945B2

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

Preview Lab → · Contrast checker → · Palette generator →

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