#3A429E#3A429E

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

Color values

HEX#3A429E
RGBrgb(58, 66, 158)
HSLhsl(235, 46%, 42%)
HSVhsv(235, 63%, 62%)
CMYKcmyk(63.3%, 58.2%, 0%, 38%)
CIE-LABlab(32.40, 26.34, -51.20)
CIE-LCHlch(32.40, 57.57, 297.22°)
OKLaboklab(42.76% 0.0117 -0.1472)
OKLCHoklch(42.76% 0.148 274.5)
XYZxyz(9.8627, 7.2638, 33.2234)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A429E #9E963A
analogous
#3A749E #3A429E #643A9E
triadic
#3A429E #9E3A42 #429E3A
tetradic
#3A429E #9E3A74 #9E963A #3A9E64
square
#3A429E #9E3A74 #9E963A #3A9E64
split-complementary
#3A429E #9E643A #749E3A
monochromatic
#191D44 #2A2F71 #3A429E #555DC0 #8188D1

Accessibility & contrast

On white

8.56
#3A429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A429E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A429E#FFFFFF#000000##FFFFFF
##3A429E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a429e;
/* rgb */ color: rgb(58, 66, 158);
/* oklch */ color: oklch(42.8% 0.148 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b76bb',
    500: '#3a429e',
    950: '#000000',
  },
}
SCSS
$custom: #3a429e;
$custom-light: #7b76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a429e",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 235.2,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.14762,
    "h": 274.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#3A429E
secondary
#BBB579
accent
#CB52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A429E

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

Preview Lab → · Contrast checker → · Palette generator →

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