#4C4BAE#4C4BAE

#4C4BAE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.154 H 279.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4C4BAE
RGBrgb(76, 75, 174)
HSLhsl(241, 40%, 49%)
HSVhsv(241, 57%, 68%)
CMYKcmyk(56.3%, 56.9%, 0%, 31.8%)
CIE-LABlab(37.16, 29.37, -53.01)
CIE-LCHlch(37.16, 60.60, 298.99°)
OKLaboklab(47.01% 0.0244 -0.1519)
OKLCHoklch(47.01% 0.154 279.1)
XYZxyz(13.1341, 9.6238, 41.2017)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4BAE #ADAE4B
analogous
#4B7CAE #4C4BAE #7E4BAE
triadic
#4C4BAE #AE4C4B #4BAE4C
tetradic
#4C4BAE #AE4B7C #ADAE4B #4BAE7E
square
#4C4BAE #AE4B7C #ADAE4B #4BAE7E
split-complementary
#4C4BAE #AE7E4B #7CAE4B
monochromatic
#272658 #393983 #4C4BAE #7473C3 #9F9ED5

Accessibility & contrast

On white

7.18
#4C4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4C4BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4BAE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4BAE#FFFFFF#000000##FFFFFF
##4C4BAE1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#196275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c4bae;
/* rgb */ color: rgb(76, 75, 174);
/* oklch */ color: oklch(47.0% 0.154 279.1);
Tailwind
colors: {
  custom: {
    50: '#877dc7',
    500: '#4c4bae',
    950: '#000000',
  },
}
SCSS
$custom: #4c4bae;
$custom-light: #877dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4bae",
  "rgb": {
    "r": 76,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 240.606,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.15386,
    "h": 279.1
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#4C4BAE
secondary
#C1C293
accent
#D058CE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4C4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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