#4A39BB#4A39BB

#4A39BB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.194 H 281.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4A39BB
RGBrgb(74, 57, 187)
HSLhsl(248, 53%, 48%)
HSVhsv(248, 70%, 73%)
CMYKcmyk(60.4%, 69.5%, 0%, 26.7%)
CIE-LABlab(33.92, 44.12, -65.98)
CIE-LCHlch(33.92, 79.37, 303.77°)
OKLaboklab(44.93% 0.0375 -0.1901)
OKLCHoklch(44.93% 0.194 281.2)
XYZxyz(13.2540, 7.9690, 47.8438)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39BB #AABB39
analogous
#3969BB #4A39BB #8B39BB
triadic
#4A39BB #BB4A39 #39BB4A
tetradic
#4A39BB #BB3969 #AABB39 #39BB8B
square
#4A39BB #BB3969 #AABB39 #39BB8B
split-complementary
#4A39BB #BB8B39 #69BB39
monochromatic
#251C5D #372B8C #4A39BB #7062CF #9B91DD

Accessibility & contrast

On white

8.10
#4A39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A39BB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39BB#FFFFFF#000000##FFFFFF
##4A39BB1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a39bb;
/* rgb */ color: rgb(74, 57, 187);
/* oklch */ color: oklch(44.9% 0.194 281.2);
Tailwind
colors: {
  custom: {
    50: '#8971d1',
    500: '#4a39bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a39bb;
$custom-light: #8971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39bb",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 247.846,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44927,
    "c": 0.1938,
    "h": 281.2
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#4A39BB
secondary
#C0C887
accent
#DD4BCA
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4A39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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