#4B45AC#4B45AC

#4B45AC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.159 H 280.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4B45AC
RGBrgb(75, 69, 172)
HSLhsl(243, 43%, 47%)
HSVhsv(243, 60%, 67%)
CMYKcmyk(56.4%, 59.9%, 0%, 32.5%)
CIE-LABlab(35.46, 32.29, -54.58)
CIE-LCHlch(35.46, 63.41, 300.61°)
OKLaboklab(45.68% 0.0294 -0.1566)
OKLCHoklch(45.68% 0.159 280.6)
XYZxyz(12.4738, 8.7299, 40.0495)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45AC #A6AC45
analogous
#4573AC #4B45AC #7F45AC
triadic
#4B45AC #AC4B45 #45AC4B
tetradic
#4B45AC #AC4573 #A6AC45 #45AC7F
square
#4B45AC #AC4573 #A6AC45 #45AC7F
split-complementary
#4B45AC #AC7F45 #73AC45
monochromatic
#252255 #383380 #4B45AC #706BC4 #9A96D5

Accessibility & contrast

On white

7.65
#4B45AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4B45AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B45AC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45AC#FFFFFF#000000##FFFFFF
##4B45AC1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#195E72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b45ac;
/* rgb */ color: rgb(75, 69, 172);
/* oklch */ color: oklch(45.7% 0.159 280.6);
Tailwind
colors: {
  custom: {
    50: '#8679c5',
    500: '#4b45ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b45ac;
$custom-light: #8679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45ac",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 243.495,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.15933,
    "h": 280.6
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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