#4A3FBB#4A3FBB

#4A3FBB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.187 H 280.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4A3FBB
RGBrgb(74, 63, 187)
HSLhsl(245, 50%, 49%)
HSVhsv(245, 66%, 73%)
CMYKcmyk(60.4%, 66.3%, 0%, 26.7%)
CIE-LABlab(35.20, 40.64, -63.89)
CIE-LCHlch(35.20, 75.72, 302.46°)
OKLaboklab(45.85% 0.0326 -0.184)
OKLCHoklch(45.85% 0.187 280)
XYZxyz(13.5683, 8.5977, 47.9486)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3FBB #B0BB3F
analogous
#3F72BB #4A3FBB #883FBB
triadic
#4A3FBB #BB4A3F #3FBB4A
tetradic
#4A3FBB #BB3F72 #B0BB3F #3FBB88
square
#4A3FBB #BB3F72 #B0BB3F #3FBB88
split-complementary
#4A3FBB #BB883F #72BB3F
monochromatic
#26205F #38308D #4A3FBB #736ACD #9E98DC

Accessibility & contrast

On white

7.72
#4A3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A3FBB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3FBB#FFFFFF#000000##FFFFFF
##4A3FBB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a3fbb;
/* rgb */ color: rgb(74, 63, 187);
/* oklch */ color: oklch(45.8% 0.187 280.0);
Tailwind
colors: {
  custom: {
    50: '#8975d0',
    500: '#4a3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4a3fbb;
$custom-light: #8975d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3fbb",
  "rgb": {
    "r": 74,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 245.323,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.18686,
    "h": 280
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#4A3FBB
secondary
#C3C88E
accent
#D94FCD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4A3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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