#4C459D#4C459D

#4C459D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.138 H 282.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4C459D
RGBrgb(76, 69, 157)
HSLhsl(245, 39%, 44%)
HSVhsv(245, 56%, 62%)
CMYKcmyk(51.6%, 56.1%, 0%, 38.4%)
CIE-LABlab(34.45, 27.62, -47.21)
CIE-LCHlch(34.45, 54.70, 300.33°)
OKLaboklab(44.61% 0.0307 -0.1349)
OKLCHoklch(44.61% 0.138 282.8)
XYZxyz(11.1926, 8.2265, 32.8899)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C459D #969D45
analogous
#456A9D #4C459D #78459D
triadic
#4C459D #9D4C45 #459D4C
tetradic
#4C459D #9D456A #969D45 #459D78
square
#4C459D #9D456A #969D45 #459D78
split-complementary
#4C459D #9D7845 #6A9D45
monochromatic
#232048 #373272 #4C459D #6B64BB #948FCE

Accessibility & contrast

On white

7.94
#4C459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4C459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C459D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C459D#FFFFFF#000000##FFFFFF
##4C459D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A0
Deuteranopia (green-blind)
#034E9B
Tritanopia (blue-blind)
#2D596A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c459d;
/* rgb */ color: rgb(76, 69, 157);
/* oklch */ color: oklch(44.6% 0.138 282.8);
Tailwind
colors: {
  custom: {
    50: '#8479ba',
    500: '#4c459d',
    950: '#000000',
  },
}
SCSS
$custom: #4c459d;
$custom-light: #8479ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c459d",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 244.773,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.13834,
    "h": 282.8
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#4C459D
secondary
#B5B985
accent
#CF59C5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4C459D

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

Preview Lab → · Contrast checker → · Palette generator →

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