#4C41C5#4C41C5

#4C41C5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.2% C 0.197 H 279.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4C41C5
RGBrgb(76, 65, 197)
HSLhsl(245, 53%, 51%)
HSVhsv(245, 67%, 77%)
CMYKcmyk(61.4%, 67%, 0%, 22.7%)
CIE-LABlab(36.64, 42.96, -67.38)
CIE-LCHlch(36.64, 79.91, 302.52°)
OKLaboklab(47.2% 0.0323 -0.1942)
OKLCHoklch(47.2% 0.197 279.4)
XYZxyz(14.9456, 9.3472, 53.8291)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C41C5 #BAC541
analogous
#4178C5 #4C41C5 #8E41C5
triadic
#4C41C5 #C54C41 #41C54C
tetradic
#4C41C5 #C54178 #BAC541 #41C58E
square
#4C41C5 #C54178 #BAC541 #41C58E
split-complementary
#4C41C5 #C58E41 #78C541
monochromatic
#27216B #382F9A #4C41C5 #7870D3 #A49FE2

Accessibility & contrast

On white

7.32
#4C41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4C41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C41C5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C41C5#FFFFFF#000000##FFFFFF
##4C41C51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c41c5;
/* rgb */ color: rgb(76, 65, 197);
/* oklch */ color: oklch(47.2% 0.197 279.4);
Tailwind
colors: {
  custom: {
    50: '#8b77d8',
    500: '#4c41c5',
    950: '#000000',
  },
}
SCSS
$custom: #4c41c5;
$custom-light: #8b77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c41c5",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 245,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47198,
    "c": 0.19684,
    "h": 279.4
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#4C41C5
secondary
#C9CE94
accent
#DD4BD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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