#4845AC#4845AC

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

Color values

HEX#4845AC
RGBrgb(72, 69, 172)
HSLhsl(242, 43%, 47%)
HSVhsv(242, 60%, 67%)
CMYKcmyk(58.1%, 59.9%, 0%, 32.5%)
CIE-LABlab(35.23, 31.73, -54.97)
CIE-LCHlch(35.23, 63.46, 299.99°)
OKLaboklab(45.45% 0.0256 -0.1578)
OKLCHoklch(45.45% 0.16 279.2)
XYZxyz(12.2446, 8.6117, 40.0387)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845AC #A9AC45
analogous
#4575AC #4845AC #7C45AC
triadic
#4845AC #AC4845 #45AC48
tetradic
#4845AC #AC4575 #A9AC45 #45AC7C
square
#4845AC #AC4575 #A9AC45 #45AC7C
split-complementary
#4845AC #AC7C45 #75AC45
monochromatic
#232255 #363380 #4845AC #6D6BC4 #9896D5

Accessibility & contrast

On white

7.71
#4845AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4845AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845AC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845AC#FFFFFF#000000##FFFFFF
##4845AC1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4845ac;
/* rgb */ color: rgb(72, 69, 172);
/* oklch */ color: oklch(45.5% 0.160 279.2);
Tailwind
colors: {
  custom: {
    50: '#8579c5',
    500: '#4845ac',
    950: '#000000',
  },
}
SCSS
$custom: #4845ac;
$custom-light: #8579c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4845ac",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 241.748,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.15989,
    "h": 279.2
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4845AC

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

Preview Lab → · Contrast checker → · Palette generator →

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