#4C4ABE#4C4ABE

#4C4ABE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.177 H 278.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4C4ABE
RGBrgb(76, 74, 190)
HSLhsl(241, 47%, 52%)
HSVhsv(241, 61%, 75%)
CMYKcmyk(60%, 61.1%, 0%, 25.5%)
CIE-LABlab(38.11, 35.27, -60.89)
CIE-LCHlch(38.11, 70.37, 300.08°)
OKLaboklab(48.09% 0.0252 -0.1751)
OKLCHoklch(48.09% 0.177 278.2)
XYZxyz(14.7206, 10.1507, 49.8888)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ABE #BCBE4A
analogous
#4A82BE #4C4ABE #864ABE
triadic
#4C4ABE #BE4C4A #4ABE4C
tetradic
#4C4ABE #BE4A82 #BCBE4A #4ABE86
square
#4C4ABE #BE4A82 #BCBE4A #4ABE86
split-complementary
#4C4ABE #BE864A #82BE4A
monochromatic
#272568 #373695 #4C4ABE #7977CE #A5A4DE

Accessibility & contrast

On white

6.93
#4C4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4C4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ABE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ABE#FFFFFF#000000##FFFFFF
##4C4ABE1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c4abe;
/* rgb */ color: rgb(76, 74, 190);
/* oklch */ color: oklch(48.1% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#897dd2',
    500: '#4c4abe',
    950: '#000000',
  },
}
SCSS
$custom: #4c4abe;
$custom-light: #897dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4abe",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 241.034,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.17689,
    "h": 278.2
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#4C4ABE
secondary
#CACB98
accent
#D751D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4C4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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