#3A429C#3A429C

#3A429C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.145 H 274.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3A429C
RGBrgb(58, 66, 156)
HSLhsl(235, 46%, 42%)
HSVhsv(235, 63%, 61%)
CMYKcmyk(62.8%, 57.7%, 0%, 38.8%)
CIE-LABlab(32.25, 25.63, -50.23)
CIE-LCHlch(32.25, 56.39, 297.03°)
OKLaboklab(42.6% 0.0117 -0.1443)
OKLCHoklch(42.6% 0.145 274.6)
XYZxyz(9.6919, 7.1955, 32.3242)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A429C #9C943A
analogous
#3A739C #3A429C #633A9C
triadic
#3A429C #9C3A42 #429C3A
tetradic
#3A429C #9C3A73 #9C943A #3A9C63
square
#3A429C #9C3A73 #9C943A #3A9C63
split-complementary
#3A429C #9C633A #739C3A
monochromatic
#191C43 #292F6F #3A429C #545DBF #8087D0

Accessibility & contrast

On white

8.61
#3A429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A429C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A429C#FFFFFF#000000##FFFFFF
##3A429C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a429c;
/* rgb */ color: rgb(58, 66, 156);
/* oklch */ color: oklch(42.6% 0.145 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b76ba',
    500: '#3a429c',
    950: '#000000',
  },
}
SCSS
$custom: #3a429c;
$custom-light: #7b76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a429c",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 235.102,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.14479,
    "h": 274.6
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#3A429C
secondary
#BAB478
accent
#CB52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A429C

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

Preview Lab → · Contrast checker → · Palette generator →

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