#3A3CA0#3A3CA0

#3A3CA0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.158 H 276.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3A3CA0
RGBrgb(58, 60, 160)
HSLhsl(239, 47%, 43%)
HSVhsv(239, 64%, 63%)
CMYKcmyk(63.8%, 62.5%, 0%, 37.3%)
CIE-LABlab(31.04, 30.93, -54.62)
CIE-LCHlch(31.04, 62.77, 299.52°)
OKLaboklab(41.81% 0.0172 -0.1573)
OKLCHoklch(41.81% 0.158 276.2)
XYZxyz(9.7039, 6.6685, 34.0267)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CA0 #A09E3A
analogous
#3A6FA0 #3A3CA0 #6B3AA0
triadic
#3A3CA0 #A03A3C #3CA03A
tetradic
#3A3CA0 #A03A6F #A09E3A #3AA06B
square
#3A3CA0 #A03A6F #A09E3A #3AA06B
split-complementary
#3A3CA0 #A06B3A #6FA03A
monochromatic
#191A46 #2A2B73 #3A3CA0 #5658C2 #8384D2

Accessibility & contrast

On white

9.00
#3A3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CA0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CA0#FFFFFF#000000##FFFFFF
##3A3CA01.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a3ca0;
/* rgb */ color: rgb(58, 60, 160);
/* oklch */ color: oklch(41.8% 0.158 276.2);
Tailwind
colors: {
  custom: {
    50: '#7c72bd',
    500: '#3a3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ca0;
$custom-light: #7c72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ca0",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 238.824,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41808,
    "c": 0.1582,
    "h": 276.2
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#3A3CA0
secondary
#BCBA7A
accent
#D451D6
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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