#334B4E#334B4E

#334B4E is a dark, muted teal. Relative luminance 0.063; OKLCH L 39.4% C 0.030 H 205.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#334B4E
RGBrgb(51, 75, 78)
HSLhsl(187, 21%, 25%)
HSVhsv(187, 35%, 31%)
CMYKcmyk(34.6%, 3.8%, 0%, 69.4%)
CIE-LABlab(30.12, -8.31, -4.74)
CIE-LCHlch(30.12, 9.57, 209.70°)
OKLaboklab(39.44% -0.0269 -0.013)
OKLCHoklch(39.44% 0.03 205.8)
XYZxyz(5.2560, 6.2857, 8.1426)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B4E #4E3633
analogous
#334E43 #334B4E #333D4E
triadic
#334B4E #4E334B #4B4E33
tetradic
#334B4E #43334E #4E3633 #3D4E33
square
#334B4E #43334E #4E3633 #3D4E33
split-complementary
#334B4E #4E333D #4E4333
monochromatic
#0C1213 #1B2729 #334B4E #4B6F73 #639298

Accessibility & contrast

On white

9.30
#334B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#334B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B4E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B4E#FFFFFF#000000##FFFFFF
##334B4E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#43454E
Tritanopia (blue-blind)
#294D4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334b4e;
/* rgb */ color: rgb(51, 75, 78);
/* oklch */ color: oklch(39.4% 0.030 205.8);
Tailwind
colors: {
  custom: {
    50: '#6c7d7f',
    500: '#334b4e',
    950: '#000000',
  },
}
SCSS
$custom: #334b4e;
$custom-light: #6c7d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#334b4e",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 78
  },
  "hsl": {
    "h": 186.667,
    "s": 20.93,
    "l": 25.294
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.02982,
    "h": 205.8
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#334B4E
secondary
#7F625E
accent
#746ABD
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#07090A
muted
#7A7B7C

Preview Lab

Preview with #334B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#334B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva