#374151#374151

#374151 is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.3% C 0.031 H 259.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#374151
RGBrgb(55, 65, 81)
HSLhsl(217, 19%, 27%)
HSVhsv(217, 32%, 32%)
CMYKcmyk(32.1%, 19.8%, 0%, 68.2%)
CIE-LABlab(27.26, 0.26, -10.97)
CIE-LCHlch(27.26, 10.97, 271.37°)
OKLaboklab(37.29% -0.0055 -0.0301)
OKLCHoklch(37.29% 0.031 259.7)
XYZxyz(4.9506, 5.1867, 8.5233)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374151 #514737
analogous
#374E51 #374151 #3A3751
triadic
#374151 #513741 #415137
tetradic
#374151 #51374E #514737 #37513A
square
#374151 #51374E #514737 #37513A
split-complementary
#374151 #513A37 #4E5137
monochromatic
#0C0F12 #1E242D #374151 #505E75 #697C99

Accessibility & contrast

On white

10.31
#374151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#374151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374151
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374151#FFFFFF#000000##FFFFFF
##3741511.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#393F51
Tritanopia (blue-blind)
#304446
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #374151;
/* rgb */ color: rgb(55, 65, 81);
/* oklch */ color: oklch(37.3% 0.031 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7581',
    500: '#374151',
    950: '#000000',
  },
}
SCSS
$custom: #374151;
$custom-light: #6e7581;
$custom-dark: #000000;
JSON
{
  "hex": "#374151",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 216.923,
    "s": 19.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.03062,
    "h": 259.7
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#374151
secondary
#817563
accent
#9D6CBC
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #374151

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

Preview Lab → · Contrast checker → · Palette generator →

#374151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva