#3A39D3#3A39D3

#3A39D3 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.227 H 273.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3A39D3
RGBrgb(58, 57, 211)
HSLhsl(240, 64%, 53%)
HSVhsv(240, 73%, 83%)
CMYKcmyk(72.5%, 73%, 0%, 17.3%)
CIE-LABlab(35.06, 49.90, -78.16)
CIE-LCHlch(35.06, 92.73, 302.55°)
OKLaboklab(46.14% 0.0131 -0.2261)
OKLCHoklch(46.14% 0.227 273.3)
XYZxyz(14.9620, 8.5274, 62.4728)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39D3 #D2D339
analogous
#3985D3 #3A39D3 #8739D3
triadic
#3A39D3 #D33A39 #39D33A
tetradic
#3A39D3 #D33985 #D2D339 #39D387
square
#3A39D3 #D33985 #D2D339 #39D387
split-complementary
#3A39D3 #D38739 #85D339
monochromatic
#1B1A77 #2626A9 #3A39D3 #6C6BDE #9E9DE9

Accessibility & contrast

On white

7.76
#3A39D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A39D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39D3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39D3#FFFFFF#000000##FFFFFF
##3A39D31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#004BD0
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a39d3;
/* rgb */ color: rgb(58, 57, 211);
/* oklch */ color: oklch(46.1% 0.227 273.3);
Tailwind
colors: {
  custom: {
    50: '#8771e2',
    500: '#3a39d3',
    950: '#000000',
  },
}
SCSS
$custom: #3a39d3;
$custom-light: #8771e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39d3",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 240.39,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.46136,
    "c": 0.2265,
    "h": 273.3
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#3A39D3
secondary
#D5D592
accent
#E741E6
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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