#4C459F#4C459F

#4C459F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.141 H 282.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4C459F
RGBrgb(76, 69, 159)
HSLhsl(245, 39%, 45%)
HSVhsv(245, 57%, 62%)
CMYKcmyk(52.2%, 56.6%, 0%, 37.6%)
CIE-LABlab(34.59, 28.26, -48.19)
CIE-LCHlch(34.59, 55.87, 300.39°)
OKLaboklab(44.76% 0.0308 -0.1378)
OKLCHoklch(44.76% 0.141 282.6)
XYZxyz(11.3647, 8.2953, 33.7965)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C459F #989F45
analogous
#456B9F #4C459F #79459F
triadic
#4C459F #9F4C45 #459F4C
tetradic
#4C459F #9F456B #989F45 #459F79
square
#4C459F #9F456B #989F45 #459F79
split-complementary
#4C459F #9F7945 #6B9F45
monochromatic
#23204A #383274 #4C459F #6C65BC #9590CF

Accessibility & contrast

On white

7.90
#4C459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4C459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C459F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C459F#FFFFFF#000000##FFFFFF
##4C459F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#2B596B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c459f;
/* rgb */ color: rgb(76, 69, 159);
/* oklch */ color: oklch(44.8% 0.141 282.6);
Tailwind
colors: {
  custom: {
    50: '#8579bc',
    500: '#4c459f',
    950: '#000000',
  },
}
SCSS
$custom: #4c459f;
$custom-light: #8579bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c459f",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 244.667,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44761,
    "c": 0.14117,
    "h": 282.6
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#4C459F
secondary
#B6BA86
accent
#CF58C6
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4C459F

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

Preview Lab → · Contrast checker → · Palette generator →

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