#4945AF#4945AF

#4945AF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.164 H 279.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4945AF
RGBrgb(73, 69, 175)
HSLhsl(242, 43%, 48%)
HSVhsv(242, 61%, 69%)
CMYKcmyk(58.3%, 60.6%, 0%, 31.4%)
CIE-LABlab(35.53, 32.90, -56.25)
CIE-LCHlch(35.53, 65.17, 300.32°)
OKLaboklab(45.77% 0.0268 -0.1616)
OKLCHoklch(45.77% 0.164 279.4)
XYZxyz(12.6112, 8.7670, 41.5768)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4945AF #ABAF45
analogous
#4576AF #4945AF #7E45AF
triadic
#4945AF #AF4945 #45AF49
tetradic
#4945AF #AF4576 #ABAF45 #45AF7E
square
#4945AF #AF4576 #ABAF45 #45AF7E
split-complementary
#4945AF #AF7E45 #76AF45
monochromatic
#242257 #373483 #4945AF #6F6CC5 #9A98D6

Accessibility & contrast

On white

7.63
#4945AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4945AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4945AF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4945AF#FFFFFF#000000##FFFFFF
##4945AF1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#085F73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4945af;
/* rgb */ color: rgb(73, 69, 175);
/* oklch */ color: oklch(45.8% 0.164 279.4);
Tailwind
colors: {
  custom: {
    50: '#8679c8',
    500: '#4945af',
    950: '#000000',
  },
}
SCSS
$custom: #4945af;
$custom-light: #8679c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4945af",
  "rgb": {
    "r": 73,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 242.264,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.16378,
    "h": 279.4
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4945AF

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

Preview Lab → · Contrast checker → · Palette generator →

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