#4A39CB#4A39CB

#4A39CB is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.213 H 279.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4A39CB
RGBrgb(74, 57, 203)
HSLhsl(247, 58%, 51%)
HSVhsv(247, 72%, 80%)
CMYKcmyk(63.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(35.39, 49.09, -72.94)
CIE-LCHlch(35.39, 87.92, 303.94°)
OKLaboklab(46.42% 0.0346 -0.2105)
OKLCHoklch(46.42% 0.213 279.3)
XYZxyz(15.0632, 8.6927, 57.3724)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A39CB #BACB39
analogous
#3971CB #4A39CB #9339CB
triadic
#4A39CB #CB4A39 #39CB4A
tetradic
#4A39CB #CB3971 #BACB39 #39CB93
square
#4A39CB #CB3971 #BACB39 #39CB93
split-complementary
#4A39CB #CB9339 #71CB39
monochromatic
#261D6D #37299D #4A39CB #7669D8 #A39AE4

Accessibility & contrast

On white

7.67
#4A39CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4A39CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A39CB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A39CB#FFFFFF#000000##FFFFFF
##4A39CB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a39cb;
/* rgb */ color: rgb(74, 57, 203);
/* oklch */ color: oklch(46.4% 0.213 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c72dc',
    500: '#4a39cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a39cb;
$custom-light: #8c72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a39cb",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 246.986,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.21332,
    "h": 279.3
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#4A39CB
secondary
#C9D090
accent
#E246D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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