#4B41B5#4B41B5

#4B41B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.176 H 280.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4B41B5
RGBrgb(75, 65, 181)
HSLhsl(245, 47%, 48%)
HSVhsv(245, 64%, 71%)
CMYKcmyk(58.6%, 64.1%, 0%, 29%)
CIE-LABlab(35.23, 37.67, -60.30)
CIE-LCHlch(35.23, 71.10, 301.99°)
OKLaboklab(45.73% 0.0328 -0.1734)
OKLCHoklch(45.73% 0.177 280.7)
XYZxyz(13.1298, 8.6118, 44.6775)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B41B5 #ABB541
analogous
#4171B5 #4B41B5 #8541B5
triadic
#4B41B5 #B54B41 #41B54B
tetradic
#4B41B5 #B54171 #ABB541 #41B585
square
#4B41B5 #B54171 #ABB541 #41B585
split-complementary
#4B41B5 #B58541 #71B541
monochromatic
#26215B #383188 #4B41B5 #726AC9 #9D97DA

Accessibility & contrast

On white

7.71
#4B41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4B41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B41B5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B41B5#FFFFFF#000000##FFFFFF
##4B41B51.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#065E75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b41b5;
/* rgb */ color: rgb(75, 65, 181);
/* oklch */ color: oklch(45.7% 0.176 280.7);
Tailwind
colors: {
  custom: {
    50: '#8876cc',
    500: '#4b41b5',
    950: '#000000',
  },
}
SCSS
$custom: #4b41b5;
$custom-light: #8876cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b41b5",
  "rgb": {
    "r": 75,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 245.172,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.1765,
    "h": 280.7
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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