#4C4BAC#4C4BAC

#4C4BAC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.151 H 279.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4C4BAC
RGBrgb(76, 75, 172)
HSLhsl(241, 39%, 48%)
HSVhsv(241, 56%, 67%)
CMYKcmyk(55.8%, 56.4%, 0%, 32.5%)
CIE-LABlab(37.02, 28.71, -52.05)
CIE-LCHlch(37.02, 59.44, 298.88°)
OKLaboklab(46.86% 0.0244 -0.1491)
OKLCHoklch(46.86% 0.151 279.3)
XYZxyz(12.9406, 9.5464, 40.1825)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4BAC #ABAC4B
analogous
#4B7AAC #4C4BAC #7C4BAC
triadic
#4C4BAC #AC4C4B #4BAC4C
tetradic
#4C4BAC #AC4B7A #ABAC4B #4BAC7C
square
#4C4BAC #AC4B7A #ABAC4B #4BAC7C
split-complementary
#4C4BAC #AC7C4B #7AAC4B
monochromatic
#262657 #393881 #4C4BAC #7372C2 #9E9DD4

Accessibility & contrast

On white

7.22
#4C4BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4C4BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4BAC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4BAC#FFFFFF#000000##FFFFFF
##4C4BAC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025BAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#1C6174
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c4bac;
/* rgb */ color: rgb(76, 75, 172);
/* oklch */ color: oklch(46.9% 0.151 279.3);
Tailwind
colors: {
  custom: {
    50: '#867dc5',
    500: '#4c4bac',
    950: '#000000',
  },
}
SCSS
$custom: #4c4bac;
$custom-light: #867dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4bac",
  "rgb": {
    "r": 76,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 240.619,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.15107,
    "h": 279.3
  },
  "luminance": 0.09547
}

Semantic roles & 50–950 ramp

primary
#4C4BAC
secondary
#C0C192
accent
#CF59CE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4C4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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