#3A39CC#3A39CC

#3A39CC is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.218 H 273.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3A39CC
RGBrgb(58, 57, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(71.6%, 72.1%, 0%, 20%)
CIE-LABlab(34.36, 47.62, -75.25)
CIE-LCHlch(34.36, 89.05, 302.33°)
OKLaboklab(45.43% 0.0143 -0.2176)
OKLCHoklch(45.43% 0.218 273.7)
XYZxyz(14.1035, 8.1840, 57.9514)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39CC #CBCC39
analogous
#3981CC #3A39CC #8339CC
triadic
#3A39CC #CC3A39 #39CC3A
tetradic
#3A39CC #CC3981 #CBCC39 #39CC83
square
#3A39CC #CC3981 #CBCC39 #39CC83
split-complementary
#3A39CC #CC8339 #81CC39
monochromatic
#1D1C6E #2A299F #3A39CC #6A6AD9 #9B9AE5

Accessibility & contrast

On white

7.96
#3A39CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A39CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39CC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39CC#FFFFFF#000000##FFFFFF
##3A39CC1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a39cc;
/* rgb */ color: rgb(58, 57, 204);
/* oklch */ color: oklch(45.4% 0.218 273.7);
Tailwind
colors: {
  custom: {
    50: '#8571dd',
    500: '#3a39cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a39cc;
$custom-light: #8571dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39cc",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 240.408,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.21811,
    "h": 273.7
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#3A39CC
secondary
#D0D190
accent
#E246E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A39CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A39CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva