#4A39D3#4A39D3

#4A39D3 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.223 H 278.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4A39D3
RGBrgb(74, 57, 211)
HSLhsl(247, 64%, 53%)
HSVhsv(247, 73%, 83%)
CMYKcmyk(64.9%, 73%, 0%, 17.3%)
CIE-LABlab(36.15, 51.55, -76.33)
CIE-LCHlch(36.15, 92.11, 304.03°)
OKLaboklab(47.19% 0.033 -0.2204)
OKLCHoklch(47.19% 0.223 278.5)
XYZxyz(16.0413, 9.0839, 62.5234)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39D3 #C2D339
analogous
#3975D3 #4A39D3 #9739D3
triadic
#4A39D3 #D34A39 #39D34A
tetradic
#4A39D3 #D33975 #C2D339 #39D397
square
#4A39D3 #D33975 #C2D339 #39D397
split-complementary
#4A39D3 #D39739 #75D339
monochromatic
#251A77 #3426A9 #4A39D3 #786BDE #A69DE9

Accessibility & contrast

On white

7.45
#4A39D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4A39D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39D3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39D3#FFFFFF#000000##FFFFFF
##4A39D31.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a39d3;
/* rgb */ color: rgb(74, 57, 211);
/* oklch */ color: oklch(47.2% 0.223 278.5);
Tailwind
colors: {
  custom: {
    50: '#8e72e2',
    500: '#4a39d3',
    950: '#000000',
  },
}
SCSS
$custom: #4a39d3;
$custom-light: #8e72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39d3",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 246.623,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.22284,
    "h": 278.5
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#4A39D3
secondary
#CED592
accent
#E741D4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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