#4A39BA#4A39BA

#4A39BA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.8% C 0.193 H 281.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4A39BA
RGBrgb(74, 57, 186)
HSLhsl(248, 53%, 48%)
HSVhsv(248, 69%, 73%)
CMYKcmyk(60.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(33.83, 43.80, -65.54)
CIE-LCHlch(33.83, 78.83, 303.76°)
OKLaboklab(44.84% 0.0377 -0.1888)
OKLCHoklch(44.84% 0.193 281.3)
XYZxyz(13.1473, 7.9263, 47.2820)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39BA #A9BA39
analogous
#3968BA #4A39BA #8A39BA
triadic
#4A39BA #BA4A39 #39BA4A
tetradic
#4A39BA #BA3968 #A9BA39 #39BA8A
square
#4A39BA #BA3968 #A9BA39 #39BA8A
split-complementary
#4A39BA #BA8A39 #68BA39
monochromatic
#251C5C #372B8B #4A39BA #7061CF #9A90DD

Accessibility & contrast

On white

8.12
#4A39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4A39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39BA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39BA#FFFFFF#000000##FFFFFF
##4A39BA1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a39ba;
/* rgb */ color: rgb(74, 57, 186);
/* oklch */ color: oklch(44.8% 0.193 281.3);
Tailwind
colors: {
  custom: {
    50: '#8971d0',
    500: '#4a39ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a39ba;
$custom-light: #8971d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39ba",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 247.907,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44836,
    "c": 0.19256,
    "h": 281.3
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#4A39BA
secondary
#BFC887
accent
#DC4BC9
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4A39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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