#3A3AC3#3A3AC3

#3A3AC3 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.7% C 0.206 H 274.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3A3AC3
RGBrgb(58, 58, 195)
HSLhsl(240, 54%, 50%)
HSVhsv(240, 70%, 76%)
CMYKcmyk(70.3%, 70.3%, 0%, 23.5%)
CIE-LABlab(33.70, 44.09, -71.09)
CIE-LCHlch(33.70, 83.65, 301.81°)
OKLaboklab(44.7% 0.0151 -0.2055)
OKLCHoklch(44.7% 0.206 274.2)
XYZxyz(13.1050, 7.8645, 52.4465)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AC3 #C3C33A
analogous
#3A7FC3 #3A3AC3 #7F3AC3
triadic
#3A3AC3 #C33A3A #3AC33A
tetradic
#3A3AC3 #C33A7F #C3C33A #3AC37F
square
#3A3AC3 #C33A7F #C3C33A #3AC37F
split-complementary
#3A3AC3 #C37F3A #7FC33A
monochromatic
#1E1E65 #2C2C94 #3A3AC3 #6868D2 #9797E0

Accessibility & contrast

On white

8.16
#3A3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A3AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AC3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AC3#FFFFFF#000000##FFFFFF
##3A3AC31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3ac3;
/* rgb */ color: rgb(58, 58, 195);
/* oklch */ color: oklch(44.7% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#8371d6',
    500: '#3a3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ac3;
$custom-light: #8371d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ac3",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 240,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.20606,
    "h": 274.2
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#3A3AC3
secondary
#CCCC8D
accent
#DE4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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