#334142#334142

#334142 is a dark, near-neutral teal. Relative luminance 0.049; OKLCH L 36.3% C 0.018 H 201.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#334142
RGBrgb(51, 65, 66)
HSLhsl(184, 13%, 23%)
HSVhsv(184, 23%, 26%)
CMYKcmyk(22.7%, 1.5%, 0%, 74.1%)
CIE-LABlab(26.38, -5.38, -2.48)
CIE-LCHlch(26.38, 5.92, 204.80°)
OKLaboklab(36.33% -0.0169 -0.0068)
OKLCHoklch(36.33% 0.018 201.8)
XYZxyz(4.2386, 4.8776, 5.8713)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334142 #423433
analogous
#33423B #334142 #333942
triadic
#334142 #423341 #414233
tetradic
#334142 #3B3342 #423433 #394233
square
#334142 #3B3342 #423433 #394233
split-complementary
#334142 #423339 #423B33
monochromatic
#0D1111 #181F1F #334142 #4E6365 #688587

Accessibility & contrast

On white

10.63
#334142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#334142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334142
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334142#FFFFFF#000000##FFFFFF
##3341421.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#3C3D42
Tritanopia (blue-blind)
#2E4241
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #334142;
/* rgb */ color: rgb(51, 65, 66);
/* oklch */ color: oklch(36.3% 0.018 201.8);
Tailwind
colors: {
  custom: {
    50: '#6b7576',
    500: '#334142',
    950: '#000000',
  },
}
SCSS
$custom: #334142;
$custom-light: #6b7576;
$custom-dark: #000000;
JSON
{
  "hex": "#334142",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 184,
    "s": 12.821,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36333,
    "c": 0.01824,
    "h": 201.8
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#334142
secondary
#72605F
accent
#7772B6
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #334142

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

Preview Lab → · Contrast checker → · Palette generator →

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