#3A3CA3#3A3CA3

#3A3CA3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.162 H 276.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3A3CA3
RGBrgb(58, 60, 163)
HSLhsl(239, 48%, 43%)
HSVhsv(239, 64%, 64%)
CMYKcmyk(64.4%, 63.2%, 0%, 36.1%)
CIE-LABlab(31.29, 31.97, -56.02)
CIE-LCHlch(31.29, 64.51, 299.71°)
OKLaboklab(42.07% 0.0171 -0.1614)
OKLCHoklch(42.07% 0.162 276)
XYZxyz(9.9695, 6.7748, 35.4255)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CA3 #A3A13A
analogous
#3A70A3 #3A3CA3 #6C3AA3
triadic
#3A3CA3 #A33A3C #3CA33A
tetradic
#3A3CA3 #A33A70 #A3A13A #3AA36C
square
#3A3CA3 #A33A70 #A3A13A #3AA36C
split-complementary
#3A3CA3 #A36C3A #70A33A
monochromatic
#1A1B49 #2A2B76 #3A3CA3 #5759C3 #8486D3

Accessibility & contrast

On white

8.92
#3A3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CA3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CA3#FFFFFF#000000##FFFFFF
##3A3CA31.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a3ca3;
/* rgb */ color: rgb(58, 60, 163);
/* oklch */ color: oklch(42.1% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#7c72bf',
    500: '#3a3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ca3;
$custom-light: #7c72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ca3",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 238.857,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.16229,
    "h": 276
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#3A3CA3
secondary
#BDBC7C
accent
#D551D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3A3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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