#4C4697#4C4697

#4C4697 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.128 H 283.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4C4697
RGBrgb(76, 70, 151)
HSLhsl(244, 37%, 43%)
HSVhsv(244, 54%, 59%)
CMYKcmyk(49.7%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.29, 25.05, -43.83)
CIE-LCHlch(34.29, 50.48, 299.75°)
OKLaboklab(44.37% 0.0293 -0.1249)
OKLCHoklch(44.37% 0.128 283.2)
XYZxyz(10.7549, 8.1506, 30.2787)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4697 #919746
analogous
#466897 #4C4697 #744697
triadic
#4C4697 #974C46 #46974C
tetradic
#4C4697 #974668 #919746 #469774
square
#4C4697 #974668 #919746 #469774
split-complementary
#4C4697 #977446 #689746
monochromatic
#221F43 #37336D #4C4697 #6A63B7 #928DCA

Accessibility & contrast

On white

7.98
#4C4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4C4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4697
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4697#FFFFFF#000000##FFFFFF
##4C46971.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#315867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c4697;
/* rgb */ color: rgb(76, 70, 151);
/* oklch */ color: oklch(44.4% 0.128 283.2);
Tailwind
colors: {
  custom: {
    50: '#8379b6',
    500: '#4c4697',
    950: '#000000',
  },
}
SCSS
$custom: #4c4697;
$custom-light: #8379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4697",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 244.444,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.12832,
    "h": 283.2
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#4C4697
secondary
#B2B683
accent
#CD5BC4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4C4697

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

Preview Lab → · Contrast checker → · Palette generator →

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