#4546AC#4546AC

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

Color values

HEX#4546AC
RGBrgb(69, 70, 172)
HSLhsl(239, 43%, 47%)
HSVhsv(239, 60%, 67%)
CMYKcmyk(59.9%, 59.3%, 0%, 32.5%)
CIE-LABlab(35.25, 30.55, -54.94)
CIE-LCHlch(35.25, 62.86, 299.08°)
OKLaboklab(45.41% 0.0209 -0.1578)
OKLCHoklch(45.41% 0.159 277.6)
XYZxyz(12.0884, 8.6232, 40.0492)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4546AC #ACAB45
analogous
#457AAC #4546AC #7745AC
triadic
#4546AC #AC4546 #46AC45
tetradic
#4546AC #AC457A #ACAB45 #45AC77
square
#4546AC #AC457A #ACAB45 #45AC77
split-complementary
#4546AC #AC7745 #7AAC45
monochromatic
#222255 #333480 #4546AC #6B6CC4 #9697D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4546AC#FFFFFF#000000##FFFFFF
##4546AC1.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)
#005F72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4546ac;
/* rgb */ color: rgb(69, 70, 172);
/* oklch */ color: oklch(45.4% 0.159 277.6);
Tailwind
colors: {
  custom: {
    50: '#8379c5',
    500: '#4546ac',
    950: '#000000',
  },
}
SCSS
$custom: #4546ac;
$custom-light: #8379c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4546ac",
  "rgb": {
    "r": 69,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 239.417,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.1592,
    "h": 277.6
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#4546AC
secondary
#C1C08C
accent
#D155D3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4546AC

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

Preview Lab → · Contrast checker → · Palette generator →

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