#4A41B4#4A41B4

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

Color values

HEX#4A41B4
RGBrgb(74, 65, 180)
HSLhsl(245, 47%, 48%)
HSVhsv(245, 64%, 71%)
CMYKcmyk(58.9%, 63.9%, 0%, 29.4%)
CIE-LABlab(35.06, 37.18, -59.97)
CIE-LCHlch(35.06, 70.56, 301.80°)
OKLaboklab(45.57% 0.0316 -0.1725)
OKLCHoklch(45.57% 0.175 280.4)
XYZxyz(12.9500, 8.5308, 44.1354)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A41B4 #ABB441
analogous
#4171B4 #4A41B4 #8441B4
triadic
#4A41B4 #B44A41 #41B44A
tetradic
#4A41B4 #B44171 #ABB441 #41B484
square
#4A41B4 #B44171 #ABB441 #41B484
split-complementary
#4A41B4 #B48441 #71B441
monochromatic
#25215A #383187 #4A41B4 #7169C9 #9B96D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A41B4#FFFFFF#000000##FFFFFF
##4A41B41.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)
#0057B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#015E74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a41b4;
/* rgb */ color: rgb(74, 65, 180);
/* oklch */ color: oklch(45.6% 0.175 280.4);
Tailwind
colors: {
  custom: {
    50: '#8776cb',
    500: '#4a41b4',
    950: '#000000',
  },
}
SCSS
$custom: #4a41b4;
$custom-light: #8776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a41b4",
  "rgb": {
    "r": 74,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 244.696,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.17536,
    "h": 280.4
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#4A41B4
secondary
#C0C58C
accent
#D751CC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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