#334151#334151

#334151 is a dark, muted cyan. Relative luminance 0.051; OKLCH L 37.0% C 0.033 H 252.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#334151
RGBrgb(51, 65, 81)
HSLhsl(212, 23%, 26%)
HSVhsv(212, 37%, 32%)
CMYKcmyk(37%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.96, -1.11, -11.46)
CIE-LCHlch(26.96, 11.51, 264.46°)
OKLaboklab(36.98% -0.0102 -0.0316)
OKLCHoklch(36.98% 0.033 252.1)
XYZxyz(4.7403, 5.0783, 8.5134)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334151 #514333
analogous
#335051 #334151 #343351
triadic
#334151 #513341 #415133
tetradic
#334151 #513350 #514333 #335134
square
#334151 #513350 #514333 #335134
split-complementary
#334151 #513433 #505133
monochromatic
#0C0F13 #1B232B #334151 #4B5F77 #627D9C

Accessibility & contrast

On white

10.42
#334151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#334151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334151
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334151#FFFFFF#000000##FFFFFF
##3341511.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4152
Deuteranopia (green-blind)
#383E51
Tritanopia (blue-blind)
#2A4546
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #334151;
/* rgb */ color: rgb(51, 65, 81);
/* oklch */ color: oklch(37.0% 0.033 252.1);
Tailwind
colors: {
  custom: {
    50: '#6b7581',
    500: '#334151',
    950: '#000000',
  },
}
SCSS
$custom: #334151;
$custom-light: #6b7581;
$custom-dark: #000000;
JSON
{
  "hex": "#334151",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 212,
    "s": 22.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36976,
    "c": 0.03318,
    "h": 252.1
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#334151
secondary
#82715E
accent
#9769BF
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#07080A
muted
#7A7B7C

Preview Lab

Preview with #334151

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

Preview Lab → · Contrast checker → · Palette generator →

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