#334147#334147

#334147 is a dark, muted cyan. Relative luminance 0.049; OKLCH L 36.5% C 0.021 H 225.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#334147
RGBrgb(51, 65, 71)
HSLhsl(198, 16%, 24%)
HSVhsv(198, 28%, 28%)
CMYKcmyk(28.2%, 8.5%, 0%, 72.2%)
CIE-LABlab(26.56, -4.02, -5.51)
CIE-LCHlch(26.56, 6.82, 233.86°)
OKLaboklab(36.53% -0.0146 -0.015)
OKLCHoklch(36.53% 0.021 225.8)
XYZxyz(4.3925, 4.9392, 6.6819)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334147 #473933
analogous
#334743 #334147 #333747
triadic
#334147 #473341 #414733
tetradic
#334147 #433347 #473933 #374733
square
#334147 #433347 #473933 #374733
split-complementary
#334147 #473337 #474333
monochromatic
#0D1012 #192023 #334147 #4D626B #66828E

Accessibility & contrast

On white

10.56
#334147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#334147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334147
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334147#FFFFFF#000000##FFFFFF
##3341471.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4047
Deuteranopia (green-blind)
#3B3E47
Tritanopia (blue-blind)
#2D4343
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334147;
/* rgb */ color: rgb(51, 65, 71);
/* oklch */ color: oklch(36.5% 0.021 225.8);
Tailwind
colors: {
  custom: {
    50: '#6b757a',
    500: '#334147',
    950: '#000000',
  },
}
SCSS
$custom: #334147;
$custom-light: #6b757a;
$custom-dark: #000000;
JSON
{
  "hex": "#334147",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 71
  },
  "hsl": {
    "h": 198,
    "s": 16.393,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.0209,
    "h": 225.8
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#334147
secondary
#77665F
accent
#856FB9
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060809
muted
#7A7B7B

Preview Lab

Preview with #334147

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

Preview Lab → · Contrast checker → · Palette generator →

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