#334752#334752

#334752 is a dark, muted cyan. Relative luminance 0.058; OKLCH L 38.6% C 0.031 H 232.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#334752
RGBrgb(51, 71, 82)
HSLhsl(201, 23%, 26%)
HSVhsv(201, 38%, 32%)
CMYKcmyk(37.8%, 13.4%, 0%, 67.8%)
CIE-LABlab(28.95, -4.67, -9.08)
CIE-LCHlch(28.95, 10.21, 242.80°)
OKLaboklab(38.56% -0.019 -0.0249)
OKLCHoklch(38.56% 0.031 232.7)
XYZxyz(5.1410, 5.8192, 8.8333)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334752 #523E33
analogous
#33524D #334752 #333752
triadic
#334752 #523347 #475233
tetradic
#334752 #4D3352 #523E33 #375233
square
#334752 #4D3352 #523E33 #375233
split-complementary
#334752 #523337 #524D33
monochromatic
#0C1013 #1C262C #334752 #4A6878 #62889D

Accessibility & contrast

On white

9.71
#334752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#334752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334752
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334752#FFFFFF#000000##FFFFFF
##3347521.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#3D4352
Tritanopia (blue-blind)
#284A4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334752;
/* rgb */ color: rgb(51, 71, 82);
/* oklch */ color: oklch(38.6% 0.031 232.7);
Tailwind
colors: {
  custom: {
    50: '#6c7a82',
    500: '#334752',
    950: '#000000',
  },
}
SCSS
$custom: #334752;
$custom-light: #6c7a82;
$custom-dark: #000000;
JSON
{
  "hex": "#334752",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 82
  },
  "hsl": {
    "h": 201.29,
    "s": 23.308,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.03133,
    "h": 232.7
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#334752
secondary
#836B5E
accent
#8768C0
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#07090A
muted
#7A7B7C

Preview Lab

Preview with #334752

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

Preview Lab → · Contrast checker → · Palette generator →

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