#4A45AC#4A45AC

#4A45AC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.160 H 280.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4A45AC
RGBrgb(74, 69, 172)
HSLhsl(243, 43%, 47%)
HSVhsv(243, 60%, 67%)
CMYKcmyk(57%, 59.9%, 0%, 32.5%)
CIE-LABlab(35.38, 32.10, -54.71)
CIE-LCHlch(35.38, 63.43, 300.40°)
OKLaboklab(45.61% 0.0282 -0.157)
OKLCHoklch(45.61% 0.16 280.2)
XYZxyz(12.3962, 8.6898, 40.0458)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45AC #A7AC45
analogous
#4573AC #4A45AC #7E45AC
triadic
#4A45AC #AC4A45 #45AC4A
tetradic
#4A45AC #AC4573 #A7AC45 #45AC7E
square
#4A45AC #AC4573 #A7AC45 #45AC7E
split-complementary
#4A45AC #AC7E45 #73AC45
monochromatic
#242255 #373380 #4A45AC #6F6BC4 #9996D5

Accessibility & contrast

On white

7.67
#4A45AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4A45AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45AC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45AC#FFFFFF#000000##FFFFFF
##4A45AC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a45ac;
/* rgb */ color: rgb(74, 69, 172);
/* oklch */ color: oklch(45.6% 0.160 280.2);
Tailwind
colors: {
  custom: {
    50: '#8679c5',
    500: '#4a45ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a45ac;
$custom-light: #8679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45ac",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 242.913,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.15951,
    "h": 280.2
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#4A45AC
secondary
#BEC18C
accent
#D355CC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A45AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4A45AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva