#3A429A#3A429A

#3A429A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.142 H 274.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3A429A
RGBrgb(58, 66, 154)
HSLhsl(235, 45%, 42%)
HSVhsv(235, 62%, 60%)
CMYKcmyk(62.3%, 57.1%, 0%, 39.6%)
CIE-LABlab(32.10, 24.92, -49.26)
CIE-LCHlch(32.10, 55.21, 296.83°)
OKLaboklab(42.44% 0.0116 -0.1415)
OKLCHoklch(42.44% 0.142 274.7)
XYZxyz(9.5240, 7.1283, 31.4396)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A429A #9A923A
analogous
#3A729A #3A429A #623A9A
triadic
#3A429A #9A3A42 #429A3A
tetradic
#3A429A #9A3A72 #9A923A #3A9A62
square
#3A429A #9A3A72 #9A923A #3A9A62
split-complementary
#3A429A #9A623A #729A3A
monochromatic
#191C41 #292F6E #3A429A #535CBE #7F86CF

Accessibility & contrast

On white

8.66
#3A429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A429A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A429A#FFFFFF#000000##FFFFFF
##3A429A1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a429a;
/* rgb */ color: rgb(58, 66, 154);
/* oklch */ color: oklch(42.4% 0.142 274.7);
Tailwind
colors: {
  custom: {
    50: '#7a76b8',
    500: '#3a429a',
    950: '#000000',
  },
}
SCSS
$custom: #3a429a;
$custom-light: #7a76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a429a",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 235,
    "s": 45.283,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.14195,
    "h": 274.7
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A429A

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

Preview Lab → · Contrast checker → · Palette generator →

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