#3A429B#3A429B

#3A429B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.143 H 274.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3A429B
RGBrgb(58, 66, 155)
HSLhsl(235, 46%, 42%)
HSVhsv(235, 63%, 61%)
CMYKcmyk(62.6%, 57.4%, 0%, 39.2%)
CIE-LABlab(32.17, 25.27, -49.75)
CIE-LCHlch(32.17, 55.80, 296.93°)
OKLaboklab(42.52% 0.0116 -0.1429)
OKLCHoklch(42.52% 0.143 274.7)
XYZxyz(9.6076, 7.1618, 31.8801)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A429B #9B933A
analogous
#3A739B #3A429B #633A9B
triadic
#3A429B #9B3A42 #429B3A
tetradic
#3A429B #9B3A73 #9B933A #3A9B63
square
#3A429B #9B3A73 #9B933A #3A9B63
split-complementary
#3A429B #9B633A #739B3A
monochromatic
#191C42 #292F6E #3A429B #535CBF #8087CF

Accessibility & contrast

On white

8.63
#3A429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A429B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A429B#FFFFFF#000000##FFFFFF
##3A429B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a429b;
/* rgb */ color: rgb(58, 66, 155);
/* oklch */ color: oklch(42.5% 0.143 274.7);
Tailwind
colors: {
  custom: {
    50: '#7a76b9',
    500: '#3a429b',
    950: '#000000',
  },
}
SCSS
$custom: #3a429b;
$custom-light: #7a76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a429b",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 235.052,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.14337,
    "h": 274.7
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#3A429B
secondary
#B9B478
accent
#CA53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A429B

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

Preview Lab → · Contrast checker → · Palette generator →

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