#4A3FBC#4A3FBC

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

Color values

HEX#4A3FBC
RGBrgb(74, 63, 188)
HSLhsl(245, 50%, 49%)
HSVhsv(245, 66%, 74%)
CMYKcmyk(60.6%, 66.5%, 0%, 26.3%)
CIE-LABlab(35.28, 40.96, -64.34)
CIE-LCHlch(35.28, 76.27, 302.48°)
OKLaboklab(45.94% 0.0325 -0.1853)
OKLCHoklch(45.94% 0.188 279.9)
XYZxyz(13.6758, 8.6407, 48.5144)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3FBC #B1BC3F
analogous
#3F73BC #4A3FBC #893FBC
triadic
#4A3FBC #BC4A3F #3FBC4A
tetradic
#4A3FBC #BC3F73 #B1BC3F #3FBC89
square
#4A3FBC #BC3F73 #B1BC3F #3FBC89
split-complementary
#4A3FBC #BC893F #73BC3F
monochromatic
#262060 #38308E #4A3FBC #746BCD #9F99DD

Accessibility & contrast

On white

7.70
#4A3FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4A3FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3FBC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3FBC#FFFFFF#000000##FFFFFF
##4A3FBC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a3fbc;
/* rgb */ color: rgb(74, 63, 188);
/* oklch */ color: oklch(45.9% 0.188 279.9);
Tailwind
colors: {
  custom: {
    50: '#8975d1',
    500: '#4a3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4a3fbc;
$custom-light: #8975d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3fbc",
  "rgb": {
    "r": 74,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 245.28,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.18814,
    "h": 279.9
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#4A3FBC
secondary
#C3C98E
accent
#D94ECD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4A3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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