#3A3AC6#3A3AC6

#3A3AC6 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.210 H 274.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A3AC6
RGBrgb(58, 58, 198)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(70.7%, 70.7%, 0%, 22.4%)
CIE-LABlab(33.99, 45.08, -72.37)
CIE-LCHlch(33.99, 85.26, 301.92°)
OKLaboklab(44.99% 0.0147 -0.2092)
OKLCHoklch(44.99% 0.21 274)
XYZxyz(13.4476, 8.0016, 54.2509)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AC6 #C6C63A
analogous
#3A80C6 #3A3AC6 #803AC6
triadic
#3A3AC6 #C63A3A #3AC63A
tetradic
#3A3AC6 #C63A80 #C6C63A #3AC680
square
#3A3AC6 #C63A80 #C6C63A #3AC680
split-complementary
#3A3AC6 #C6803A #80C63A
monochromatic
#1E1E68 #2C2C97 #3A3AC6 #6969D4 #9999E1

Accessibility & contrast

On white

8.08
#3A3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A3AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AC6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AC6#FFFFFF#000000##FFFFFF
##3A3AC61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ac6;
/* rgb */ color: rgb(58, 58, 198);
/* oklch */ color: oklch(45.0% 0.210 274.0);
Tailwind
colors: {
  custom: {
    50: '#8471d9',
    500: '#3a3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ac6;
$custom-light: #8471d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ac6",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.20976,
    "h": 274
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#3A3AC6
secondary
#CDCD8F
accent
#DE49DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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