#4C4ABB#4C4ABB

#4C4ABB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.173 H 278.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4C4ABB
RGBrgb(76, 74, 187)
HSLhsl(241, 45%, 51%)
HSVhsv(241, 60%, 73%)
CMYKcmyk(59.4%, 60.4%, 0%, 26.7%)
CIE-LABlab(37.88, 34.28, -59.51)
CIE-LCHlch(37.88, 68.68, 299.95°)
OKLaboklab(47.85% 0.0253 -0.171)
OKLCHoklch(47.85% 0.173 278.4)
XYZxyz(14.3960, 10.0209, 48.1797)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ABB #B9BB4A
analogous
#4A80BB #4C4ABB #844ABB
triadic
#4C4ABB #BB4C4A #4ABB4C
tetradic
#4C4ABB #BB4A80 #B9BB4A #4ABB84
square
#4C4ABB #BB4A80 #B9BB4A #4ABB84
split-complementary
#4C4ABB #BB844A #80BB4A
monochromatic
#272665 #383791 #4C4ABB #7876CC #A4A3DC

Accessibility & contrast

On white

6.99
#4C4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4C4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ABB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ABB#FFFFFF#000000##FFFFFF
##4C4ABB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c4abb;
/* rgb */ color: rgb(76, 74, 187);
/* oklch */ color: oklch(47.8% 0.173 278.4);
Tailwind
colors: {
  custom: {
    50: '#897dd0',
    500: '#4c4abb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4abb;
$custom-light: #897dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4abb",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 241.062,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.17289,
    "h": 278.4
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#4C4ABB
secondary
#C8C997
accent
#D553D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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