#336872#336872

#336872 is a mid, muted teal. Relative luminance 0.118; OKLCH L 48.5% C 0.058 H 211.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#336872
RGBrgb(51, 104, 114)
HSLhsl(190, 38%, 32%)
HSVhsv(190, 55%, 45%)
CMYKcmyk(55.3%, 8.8%, 0%, 55.3%)
CIE-LABlab(40.93, -14.54, -11.01)
CIE-LCHlch(40.93, 18.24, 217.13°)
OKLaboklab(48.51% -0.0499 -0.0304)
OKLCHoklch(48.51% 0.058 211.4)
XYZxyz(9.3516, 11.8185, 17.7047)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336872 #723D33
analogous
#33725D #336872 #334872
triadic
#336872 #723368 #687233
tetradic
#336872 #5D3372 #723D33 #487233
square
#336872 #5D3372 #723D33 #487233
split-complementary
#336872 #723348 #725D33
monochromatic
#0D1B1D #204148 #336872 #468F9C #65ADBA

Accessibility & contrast

On white

6.24
#336872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#336872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336872
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336872#FFFFFF#000000##FFFFFF
##3368721.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606573
Deuteranopia (green-blind)
#565D72
Tritanopia (blue-blind)
#036C6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336872;
/* rgb */ color: rgb(51, 104, 114);
/* oklch */ color: oklch(48.5% 0.058 211.4);
Tailwind
colors: {
  custom: {
    50: '#70939a',
    500: '#336872',
    950: '#000000',
  },
}
SCSS
$custom: #336872;
$custom-light: #70939a;
$custom-dark: #000000;
JSON
{
  "hex": "#336872",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 114
  },
  "hsl": {
    "h": 189.524,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.05843,
    "h": 211.4
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#336872
secondary
#A2695F
accent
#6C5ACE
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #336872

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

Preview Lab → · Contrast checker → · Palette generator →

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