#3A39DC#3A39DC

#3A39DC is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.1% C 0.237 H 272.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A39DC
RGBrgb(58, 57, 220)
HSLhsl(240, 70%, 54%)
HSVhsv(240, 74%, 86%)
CMYKcmyk(73.6%, 74.1%, 0%, 13.7%)
CIE-LABlab(35.97, 52.78, -81.84)
CIE-LCHlch(35.97, 97.38, 302.82°)
OKLaboklab(47.05% 0.0115 -0.2368)
OKLCHoklch(47.05% 0.237 272.8)
XYZxyz(16.1220, 8.9914, 68.5821)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39DC #DBDC39
analogous
#398ADC #3A39DC #8C39DC
triadic
#3A39DC #DC3A39 #39DC3A
tetradic
#3A39DC #DC398A #DBDC39 #39DC8C
square
#3A39DC #DC398A #DBDC39 #39DC8C
split-complementary
#3A39DC #DC8C39 #8ADC39
monochromatic
#181783 #2120B7 #3A39DC #6E6DE5 #A1A1EE

Accessibility & contrast

On white

7.50
#3A39DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A39DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39DC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39DC#FFFFFF#000000##FFFFFF
##3A39DC1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE1
Deuteranopia (green-blind)
#004DD9
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a39dc;
/* rgb */ color: rgb(58, 57, 220);
/* oklch */ color: oklch(47.1% 0.237 272.8);
Tailwind
colors: {
  custom: {
    50: '#8972e8',
    500: '#3a39dc',
    950: '#000000',
  },
}
SCSS
$custom: #3a39dc;
$custom-light: #8972e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39dc",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 240.368,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.23712,
    "h": 272.8
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

primary
#3A39DC
secondary
#DBDB96
accent
#ED3BEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3A39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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