#4C41AF#4C41AF

#4C41AF is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.168 H 281.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4C41AF
RGBrgb(76, 65, 175)
HSLhsl(246, 46%, 47%)
HSVhsv(246, 63%, 69%)
CMYKcmyk(56.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(34.83, 35.91, -57.39)
CIE-LCHlch(34.83, 67.70, 302.04°)
OKLaboklab(45.31% 0.0346 -0.1648)
OKLCHoklch(45.31% 0.168 281.8)
XYZxyz(12.6063, 8.4114, 41.5084)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C41AF #A4AF41
analogous
#416DAF #4C41AF #8341AF
triadic
#4C41AF #AF4C41 #41AF4C
tetradic
#4C41AF #AF416D #A4AF41 #41AF83
square
#4C41AF #AF416D #A4AF41 #41AF83
split-complementary
#4C41AF #AF8341 #6DAF41
monochromatic
#252056 #393082 #4C41AF #7067C6 #9A93D7

Accessibility & contrast

On white

7.83
#4C41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4C41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C41AF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C41AF#FFFFFF#000000##FFFFFF
##4C41AF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#1A5C72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c41af;
/* rgb */ color: rgb(76, 65, 175);
/* oklch */ color: oklch(45.3% 0.168 281.8);
Tailwind
colors: {
  custom: {
    50: '#8776c8',
    500: '#4c41af',
    950: '#000000',
  },
}
SCSS
$custom: #4c41af;
$custom-light: #8776c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c41af",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 246,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.16843,
    "h": 281.8
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#4C41AF
secondary
#BDC289
accent
#D552C8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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