#3A4058#3A4058

#3A4058 is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.6% C 0.042 H 273.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3A4058
RGBrgb(58, 64, 88)
HSLhsl(228, 21%, 29%)
HSVhsv(228, 34%, 35%)
CMYKcmyk(34.1%, 27.3%, 0%, 65.5%)
CIE-LABlab(27.49, 4.03, -15.15)
CIE-LCHlch(27.49, 15.67, 284.88°)
OKLaboklab(37.64% 0.0025 -0.0419)
OKLCHoklch(37.64% 0.042 273.4)
XYZxyz(5.3393, 5.2707, 9.9667)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4058 #58523A
analogous
#3A4F58 #3A4058 #433A58
triadic
#3A4058 #583A40 #40583A
tetradic
#3A4058 #583A4F #58523A #3A5843
square
#3A4058 #583A4F #58523A #3A5843
split-complementary
#3A4058 #58433A #4F583A
monochromatic
#0C0D12 #222533 #3A4058 #525B7D #6D779F

Accessibility & contrast

On white

10.22
#3A4058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A4058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4058
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4058#FFFFFF#000000##FFFFFF
##3A40581.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394259
Deuteranopia (green-blind)
#364057
Tritanopia (blue-blind)
#324548
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a4058;
/* rgb */ color: rgb(58, 64, 88);
/* oklch */ color: oklch(37.6% 0.042 273.4);
Tailwind
colors: {
  custom: {
    50: '#717487',
    500: '#3a4058',
    950: '#000000',
  },
}
SCSS
$custom: #3a4058;
$custom-light: #717487;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4058",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 228,
    "s": 20.548,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.04198,
    "h": 273.4
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#3A4058
secondary
#888166
accent
#AD6BBD
background
#F6F7F8
surface
#ECEDEF
border
#C7C8CA
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #3A4058

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

Preview Lab → · Contrast checker → · Palette generator →

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