#3A4252#3A4252

#3A4252 is a dark, muted blue. Relative luminance 0.054; OKLCH L 37.8% C 0.029 H 264.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3A4252
RGBrgb(58, 66, 82)
HSLhsl(220, 17%, 27%)
HSVhsv(220, 29%, 32%)
CMYKcmyk(29.3%, 19.5%, 0%, 67.8%)
CIE-LABlab(27.86, 0.96, -10.69)
CIE-LCHlch(27.86, 10.73, 275.12°)
OKLaboklab(37.84% -0.003 -0.0293)
OKLCHoklch(37.84% 0.029 264.1)
XYZxyz(5.2157, 5.4050, 8.7495)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4252 #524A3A
analogous
#3A4E52 #3A4252 #3E3A52
triadic
#3A4252 #523A42 #42523A
tetradic
#3A4252 #523A4E #524A3A #3A523E
square
#3A4252 #523A4E #524A3A #3A523E
split-complementary
#3A4252 #523E3A #4E523A
monochromatic
#0D0E12 #21252E #3A4252 #535F76 #6E7C98

Accessibility & contrast

On white

10.09
#3A4252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A4252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4252
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4252#FFFFFF#000000##FFFFFF
##3A42521.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#3B4152
Tritanopia (blue-blind)
#344547
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a4252;
/* rgb */ color: rgb(58, 66, 82);
/* oklch */ color: oklch(37.8% 0.029 264.1);
Tailwind
colors: {
  custom: {
    50: '#707682',
    500: '#3a4252',
    950: '#000000',
  },
}
SCSS
$custom: #3a4252;
$custom-light: #707682;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4252",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 220,
    "s": 17.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37837,
    "c": 0.02945,
    "h": 264.1
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#3A4252
secondary
#827966
accent
#A16EBA
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #3A4252

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

Preview Lab → · Contrast checker → · Palette generator →

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