#3A405A#3A405A

#3A405A is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.7% C 0.045 H 274.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3A405A
RGBrgb(58, 64, 90)
HSLhsl(229, 22%, 29%)
HSVhsv(229, 36%, 35%)
CMYKcmyk(35.6%, 28.9%, 0%, 64.7%)
CIE-LABlab(27.58, 4.63, -16.30)
CIE-LCHlch(27.58, 16.95, 285.84°)
OKLaboklab(37.74% 0.0032 -0.0452)
OKLCHoklch(37.74% 0.045 274)
XYZxyz(5.4233, 5.3043, 10.4090)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A405A #5A543A
analogous
#3A505A #3A405A #443A5A
triadic
#3A405A #5A3A40 #405A3A
tetradic
#3A405A #5A3A50 #5A543A #3A5A44
square
#3A405A #5A3A50 #5A543A #3A5A44
split-complementary
#3A405A #5A443A #505A3A
monochromatic
#0C0D13 #222635 #3A405A #525A7F #6D77A1

Accessibility & contrast

On white

10.19
#3A405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A405A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A405A#FFFFFF#000000##FFFFFF
##3A405A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435B
Deuteranopia (green-blind)
#364059
Tritanopia (blue-blind)
#314549
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a405a;
/* rgb */ color: rgb(58, 64, 90);
/* oklch */ color: oklch(37.7% 0.045 274.0);
Tailwind
colors: {
  custom: {
    50: '#717488',
    500: '#3a405a',
    950: '#000000',
  },
}
SCSS
$custom: #3a405a;
$custom-light: #717488;
$custom-dark: #000000;
JSON
{
  "hex": "#3a405a",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 228.75,
    "s": 21.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37739,
    "c": 0.04532,
    "h": 274
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#3A405A
secondary
#8A8366
accent
#AE6ABE
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #3A405A

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

Preview Lab → · Contrast checker → · Palette generator →

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