#4A39BF#4A39BF

#4A39BF is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.3% C 0.199 H 280.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4A39BF
RGBrgb(74, 57, 191)
HSLhsl(248, 54%, 49%)
HSVhsv(248, 70%, 75%)
CMYKcmyk(61.3%, 70.2%, 0%, 25.1%)
CIE-LABlab(34.28, 45.37, -67.75)
CIE-LCHlch(34.28, 81.53, 303.81°)
OKLaboklab(45.3% 0.0368 -0.1953)
OKLCHoklch(45.3% 0.199 280.7)
XYZxyz(13.6882, 8.1427, 50.1305)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39BF #AEBF39
analogous
#396BBF #4A39BF #8D39BF
triadic
#4A39BF #BF4A39 #39BF4A
tetradic
#4A39BF #BF396B #AEBF39 #39BF8D
square
#4A39BF #BF396B #AEBF39 #39BF8D
split-complementary
#4A39BF #BF8D39 #6BBF39
monochromatic
#251D61 #382B90 #4A39BF #7264D1 #9D93DF

Accessibility & contrast

On white

7.99
#4A39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4A39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39BF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39BF#FFFFFF#000000##FFFFFF
##4A39BF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a39bf;
/* rgb */ color: rgb(74, 57, 191);
/* oklch */ color: oklch(45.3% 0.199 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a71d3',
    500: '#4a39bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a39bf;
$custom-light: #8a71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39bf",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 247.612,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.19875,
    "h": 280.7
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#4A39BF
secondary
#C2CA8A
accent
#DD4ACB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4A39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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