#3A429F#3A429F

#3A429F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.149 H 274.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3A429F
RGBrgb(58, 66, 159)
HSLhsl(235, 47%, 43%)
HSVhsv(235, 64%, 62%)
CMYKcmyk(63.5%, 58.5%, 0%, 37.6%)
CIE-LABlab(32.48, 26.69, -51.68)
CIE-LCHlch(32.48, 58.16, 297.32°)
OKLaboklab(42.85% 0.0117 -0.1486)
OKLCHoklch(42.85% 0.149 274.5)
XYZxyz(9.9491, 7.2984, 33.6786)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A429F #9F973A
analogous
#3A749F #3A429F #653A9F
triadic
#3A429F #9F3A42 #429F3A
tetradic
#3A429F #9F3A74 #9F973A #3A9F65
square
#3A429F #9F3A74 #9F973A #3A9F65
split-complementary
#3A429F #9F653A #749F3A
monochromatic
#191D45 #2A2F72 #3A429F #555EC1 #8288D1

Accessibility & contrast

On white

8.54
#3A429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A429F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A429F#FFFFFF#000000##FFFFFF
##3A429F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a429f;
/* rgb */ color: rgb(58, 66, 159);
/* oklch */ color: oklch(42.8% 0.149 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b76bc',
    500: '#3a429f',
    950: '#000000',
  },
}
SCSS
$custom: #3a429f;
$custom-light: #7b76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a429f",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 235.248,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.14903,
    "h": 274.5
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#3A429F
secondary
#BBB67A
accent
#CC52D6
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A429F

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

Preview Lab → · Contrast checker → · Palette generator →

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