#3A3AD9#3A3AD9

#3A3AD9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.233 H 272.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3A3AD9
RGBrgb(58, 58, 217)
HSLhsl(240, 68%, 54%)
HSVhsv(240, 73%, 85%)
CMYKcmyk(73.3%, 73.3%, 0%, 14.9%)
CIE-LABlab(35.86, 51.28, -80.30)
CIE-LCHlch(35.86, 95.28, 302.56°)
OKLaboklab(46.88% 0.0116 -0.2324)
OKLCHoklch(46.88% 0.233 272.9)
XYZxyz(15.7782, 8.9338, 66.5250)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AD9 #D9D93A
analogous
#3A8AD9 #3A3AD9 #8A3AD9
triadic
#3A3AD9 #D93A3A #3AD93A
tetradic
#3A3AD9 #D93A8A #D9D93A #3AD98A
square
#3A3AD9 #D93A8A #D9D93A #3AD98A
split-complementary
#3A3AD9 #D98A3A #8AD93A
monochromatic
#191980 #2323B3 #3A3AD9 #6D6DE3 #A1A1ED

Accessibility & contrast

On white

7.53
#3A3AD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A3AD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AD9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AD9#FFFFFF#000000##FFFFFF
##3A3AD91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#004CD6
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a3ad9;
/* rgb */ color: rgb(58, 58, 217);
/* oklch */ color: oklch(46.9% 0.233 272.9);
Tailwind
colors: {
  custom: {
    50: '#8872e6',
    500: '#3a3ad9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ad9;
$custom-light: #8872e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ad9",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.23265,
    "h": 272.9
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#3A3AD9
secondary
#D9D995
accent
#EB3DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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