#334F56#334F56

#334F56 is a dark, muted cyan. Relative luminance 0.070; OKLCH L 40.8% C 0.036 H 215.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#334F56
RGBrgb(51, 79, 86)
HSLhsl(192, 26%, 27%)
HSVhsv(192, 41%, 34%)
CMYKcmyk(40.7%, 8.1%, 0%, 66.3%)
CIE-LABlab(31.73, -8.44, -7.45)
CIE-LCHlch(31.73, 11.26, 221.45°)
OKLaboklab(40.82% -0.029 -0.0204)
OKLCHoklch(40.82% 0.036 215.1)
XYZxyz(5.8404, 6.9673, 9.8394)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F56 #563A33
analogous
#33564C #334F56 #333E56
triadic
#334F56 #56334F #4F5633
tetradic
#334F56 #4C3356 #563A33 #3E5633
square
#334F56 #4C3356 #563A33 #3E5633
split-complementary
#334F56 #56333E #564C33
monochromatic
#0B1213 #1C2C30 #334F56 #4A727C #6295A2

Accessibility & contrast

On white

8.77
#334F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#334F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F56
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F56#FFFFFF#000000##FFFFFF
##334F561.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#255251
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #334f56;
/* rgb */ color: rgb(51, 79, 86);
/* oklch */ color: oklch(40.8% 0.036 215.1);
Tailwind
colors: {
  custom: {
    50: '#6c8085',
    500: '#334f56',
    950: '#000000',
  },
}
SCSS
$custom: #334f56;
$custom-light: #6c8085;
$custom-dark: #000000;
JSON
{
  "hex": "#334f56",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 86
  },
  "hsl": {
    "h": 192,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.03552,
    "h": 215.1
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#334F56
secondary
#87665E
accent
#7866C2
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#070A0B
muted
#7A7C7C

Preview Lab

Preview with #334F56

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

Preview Lab → · Contrast checker → · Palette generator →

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