#4C4B97#4C4B97

#4C4B97 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.121 H 281.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4C4B97
RGBrgb(76, 75, 151)
HSLhsl(241, 34%, 44%)
HSVhsv(241, 50%, 59%)
CMYKcmyk(49.7%, 50.3%, 0%, 40.8%)
CIE-LABlab(35.60, 21.84, -41.73)
CIE-LCHlch(35.60, 47.10, 297.62°)
OKLaboklab(45.35% 0.0231 -0.1187)
OKLCHoklch(45.35% 0.121 281)
XYZxyz(11.0808, 8.8024, 30.3873)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4B97 #96974B
analogous
#4B7097 #4C4B97 #724B97
triadic
#4C4B97 #974C4B #4B974C
tetradic
#4C4B97 #974B70 #96974B #4B9772
square
#4C4B97 #974B70 #96974B #4B9772
split-complementary
#4C4B97 #97724B #70974B
monochromatic
#232245 #37376E #4C4B97 #6B6AB5 #9493C9

Accessibility & contrast

On white

7.61
#4C4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4C4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4B97
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4B97#FFFFFF#000000##FFFFFF
##4C4B971.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#305B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c4b97;
/* rgb */ color: rgb(76, 75, 151);
/* oklch */ color: oklch(45.3% 0.121 281.0);
Tailwind
colors: {
  custom: {
    50: '#837db6',
    500: '#4c4b97',
    950: '#000000',
  },
}
SCSS
$custom: #4c4b97;
$custom-light: #837db6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4b97",
  "rgb": {
    "r": 76,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 240.789,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.12098,
    "h": 281
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#4C4B97
secondary
#B5B688
accent
#CA5EC8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4C4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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