#3A4056#3A4056

#3A4056 is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.5% C 0.039 H 272.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#3A4056
RGBrgb(58, 64, 86)
HSLhsl(227, 19%, 28%)
HSVhsv(227, 33%, 34%)
CMYKcmyk(32.6%, 25.6%, 0%, 66.3%)
CIE-LABlab(27.40, 3.43, -13.99)
CIE-LCHlch(27.40, 14.40, 283.79°)
OKLaboklab(37.54% 0.0018 -0.0386)
OKLCHoklch(37.54% 0.039 272.6)
XYZxyz(5.2576, 5.2380, 9.5363)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4056 #56503A
analogous
#3A4E56 #3A4056 #423A56
triadic
#3A4056 #563A40 #40563A
tetradic
#3A4056 #563A4E #56503A #3A5642
square
#3A4056 #563A4E #56503A #3A5642
split-complementary
#3A4056 #56423A #4E563A
monochromatic
#0C0E12 #212531 #3A4056 #535B7B #6E789D

Accessibility & contrast

On white

10.26
#3A4056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4056
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4056#FFFFFF#000000##FFFFFF
##3A40561.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#374055
Tritanopia (blue-blind)
#334448
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a4056;
/* rgb */ color: rgb(58, 64, 86);
/* oklch */ color: oklch(37.5% 0.039 272.6);
Tailwind
colors: {
  custom: {
    50: '#717485',
    500: '#3a4056',
    950: '#000000',
  },
}
SCSS
$custom: #3a4056;
$custom-light: #717485;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4056",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 86
  },
  "hsl": {
    "h": 227.143,
    "s": 19.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37537,
    "c": 0.03865,
    "h": 272.6
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#3A4056
secondary
#867F66
accent
#AB6CBC
background
#F6F7F8
surface
#ECEDEF
border
#C7C8CA
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #3A4056

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

Preview Lab → · Contrast checker → · Palette generator →

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