#4A41B8#4A41B8

#4A41B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.181 H 279.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4A41B8
RGBrgb(74, 65, 184)
HSLhsl(245, 48%, 49%)
HSVhsv(245, 65%, 72%)
CMYKcmyk(59.8%, 64.7%, 0%, 27.8%)
CIE-LABlab(35.39, 38.47, -61.80)
CIE-LCHlch(35.39, 72.80, 301.90°)
OKLaboklab(45.91% 0.0312 -0.1779)
OKLCHoklch(45.91% 0.181 279.9)
XYZxyz(13.3633, 8.6962, 46.3124)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A41B8 #AFB841
analogous
#4174B8 #4A41B8 #8641B8
triadic
#4A41B8 #B84A41 #41B84A
tetradic
#4A41B8 #B84174 #AFB841 #41B886
square
#4A41B8 #B84174 #AFB841 #41B886
split-complementary
#4A41B8 #B88641 #74B841
monochromatic
#26215E #38318B #4A41B8 #736BCB #9E99DB

Accessibility & contrast

On white

7.67
#4A41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4A41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A41B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A41B8#FFFFFF#000000##FFFFFF
##4A41B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a41b8;
/* rgb */ color: rgb(74, 65, 184);
/* oklch */ color: oklch(45.9% 0.181 279.9);
Tailwind
colors: {
  custom: {
    50: '#8876ce',
    500: '#4a41b8',
    950: '#000000',
  },
}
SCSS
$custom: #4a41b8;
$custom-light: #8876ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4a41b8",
  "rgb": {
    "r": 74,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 244.538,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.18058,
    "h": 279.9
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#4A41B8
secondary
#C2C78E
accent
#D750CD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4A41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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