#3A4256#3A4256

#3A4256 is a dark, muted blue. Relative luminance 0.055; OKLCH L 38.0% C 0.036 H 267.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3A4256
RGBrgb(58, 66, 86)
HSLhsl(223, 19%, 28%)
HSVhsv(223, 33%, 34%)
CMYKcmyk(32.6%, 23.3%, 0%, 66.3%)
CIE-LABlab(28.03, 2.11, -13.03)
CIE-LCHlch(28.03, 13.20, 279.21°)
OKLaboklab(38.02% -0.0014 -0.0359)
OKLCHoklch(38.02% 0.036 267.7)
XYZxyz(5.3724, 5.4677, 9.5746)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4256 #564E3A
analogous
#3A5056 #3A4256 #403A56
triadic
#3A4256 #563A42 #42563A
tetradic
#3A4256 #563A50 #564E3A #3A5640
square
#3A4256 #563A50 #564E3A #3A5640
split-complementary
#3A4256 #56403A #50563A
monochromatic
#0C0E12 #212631 #3A4256 #535E7B #6E7B9D

Accessibility & contrast

On white

10.03
#3A4256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A4256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4256
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4256#FFFFFF#000000##FFFFFF
##3A42561.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4357
Deuteranopia (green-blind)
#394156
Tritanopia (blue-blind)
#324649
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a4256;
/* rgb */ color: rgb(58, 66, 86);
/* oklch */ color: oklch(38.0% 0.036 267.7);
Tailwind
colors: {
  custom: {
    50: '#717685',
    500: '#3a4256',
    950: '#000000',
  },
}
SCSS
$custom: #3a4256;
$custom-light: #717685;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4256",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 222.857,
    "s": 19.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.03593,
    "h": 267.7
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#3A4256
secondary
#867D66
accent
#A56CBC
background
#F6F7F8
surface
#ECEDEF
border
#C7C8CA
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #3A4256

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

Preview Lab → · Contrast checker → · Palette generator →

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