#3A3A52#3A3A52

#3A3A52 is a dark, muted blue. Relative luminance 0.045; OKLCH L 35.9% C 0.041 H 284.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#3A3A52
RGBrgb(58, 58, 82)
HSLhsl(240, 17%, 27%)
HSVhsv(240, 29%, 32%)
CMYKcmyk(29.3%, 29.3%, 0%, 67.8%)
CIE-LABlab(25.37, 6.27, -14.51)
CIE-LCHlch(25.37, 15.80, 293.36°)
OKLaboklab(35.89% 0.0101 -0.0401)
OKLCHoklch(35.89% 0.041 284.1)
XYZxyz(4.7806, 4.5347, 8.6044)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A52 #52523A
analogous
#3A4652 #3A3A52 #463A52
triadic
#3A3A52 #523A3A #3A523A
tetradic
#3A3A52 #523A46 #52523A #3A5246
square
#3A3A52 #523A46 #52523A #3A5246
split-complementary
#3A3A52 #52463A #46523A
monochromatic
#0D0D12 #21212E #3A3A52 #535376 #6E6E98

Accessibility & contrast

On white

11.01
#3A3A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3A3A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3A52
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A52#FFFFFF#000000##FFFFFF
##3A3A521.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#333B51
Tritanopia (blue-blind)
#343E42
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a3a52;
/* rgb */ color: rgb(58, 58, 82);
/* oklch */ color: oklch(35.9% 0.041 284.1);
Tailwind
colors: {
  custom: {
    50: '#707082',
    500: '#3a3a52',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a52;
$custom-light: #707082;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a52",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 82
  },
  "hsl": {
    "h": 240,
    "s": 17.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.04131,
    "h": 284.1
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#3A3A52
secondary
#828266
accent
#BA6EBA
background
#F6F6F7
surface
#ECECEE
border
#C7C7C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #3A3A52

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

Preview Lab → · Contrast checker → · Palette generator →

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