#4C41B2#4C41B2

#4C41B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.172 H 281.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4C41B2
RGBrgb(76, 65, 178)
HSLhsl(246, 47%, 48%)
HSVhsv(246, 63%, 70%)
CMYKcmyk(57.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(35.06, 36.88, -58.78)
CIE-LCHlch(35.06, 69.39, 302.10°)
OKLaboklab(45.56% 0.0343 -0.1689)
OKLCHoklch(45.56% 0.172 281.5)
XYZxyz(12.9042, 8.5306, 43.0774)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C41B2 #A7B241
analogous
#416EB2 #4C41B2 #8541B2
triadic
#4C41B2 #B24C41 #41B24C
tetradic
#4C41B2 #B2416E #A7B241 #41B285
square
#4C41B2 #B2416E #A7B241 #41B285
split-complementary
#4C41B2 #B28541 #6EB241
monochromatic
#262058 #393185 #4C41B2 #7268C8 #9C95D8

Accessibility & contrast

On white

7.76
#4C41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4C41B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C41B2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C41B2#FFFFFF#000000##FFFFFF
##4C41B21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#145D73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c41b2;
/* rgb */ color: rgb(76, 65, 178);
/* oklch */ color: oklch(45.6% 0.172 281.5);
Tailwind
colors: {
  custom: {
    50: '#8876ca',
    500: '#4c41b2',
    950: '#000000',
  },
}
SCSS
$custom: #4c41b2;
$custom-light: #8876ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c41b2",
  "rgb": {
    "r": 76,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 245.841,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.17239,
    "h": 281.5
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#4C41B2
secondary
#BEC48B
accent
#D652C9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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