#4A41B2#4A41B2

#4A41B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.173 H 280.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4A41B2
RGBrgb(74, 65, 178)
HSLhsl(245, 47%, 48%)
HSVhsv(245, 63%, 70%)
CMYKcmyk(58.4%, 63.5%, 0%, 30.2%)
CIE-LABlab(34.90, 36.53, -59.05)
CIE-LCHlch(34.90, 69.44, 301.74°)
OKLaboklab(45.4% 0.0317 -0.1698)
OKLCHoklch(45.4% 0.173 280.6)
XYZxyz(12.7477, 8.4499, 43.0701)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A41B2 #A9B241
analogous
#4170B2 #4A41B2 #8341B2
triadic
#4A41B2 #B24A41 #41B24A
tetradic
#4A41B2 #B24170 #A9B241 #41B283
square
#4A41B2 #B24170 #A9B241 #41B283
split-complementary
#4A41B2 #B28341 #70B241
monochromatic
#252058 #373185 #4A41B2 #7068C8 #9A95D8

Accessibility & contrast

On white

7.81
#4A41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4A41B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A41B2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A41B2#FFFFFF#000000##FFFFFF
##4A41B21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a41b2;
/* rgb */ color: rgb(74, 65, 178);
/* oklch */ color: oklch(45.4% 0.173 280.6);
Tailwind
colors: {
  custom: {
    50: '#8776ca',
    500: '#4a41b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a41b2;
$custom-light: #8776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a41b2",
  "rgb": {
    "r": 74,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 244.779,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.17273,
    "h": 280.6
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#4A41B2
secondary
#BFC48B
accent
#D652CC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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