#336871#336871

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

Color values

HEX#336871
RGBrgb(51, 104, 113)
HSLhsl(189, 38%, 32%)
HSVhsv(189, 55%, 44%)
CMYKcmyk(54.9%, 8%, 0%, 55.7%)
CIE-LABlab(40.89, -14.86, -10.46)
CIE-LCHlch(40.89, 18.17, 215.15°)
OKLaboklab(48.47% -0.0503 -0.0289)
OKLCHoklch(48.47% 0.058 209.9)
XYZxyz(9.2950, 11.7959, 17.4066)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336871 #713C33
analogous
#33715B #336871 #334971
triadic
#336871 #713368 #687133
tetradic
#336871 #5B3371 #713C33 #497133
square
#336871 #5B3371 #713C33 #497133
split-complementary
#336871 #713349 #715B33
monochromatic
#0D1A1D #204147 #336871 #468F9B #65ADB9

Accessibility & contrast

On white

6.25
#336871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336871
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336871#FFFFFF#000000##FFFFFF
##3368711.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606572
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#056C6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336871;
/* rgb */ color: rgb(51, 104, 113);
/* oklch */ color: oklch(48.5% 0.058 209.9);
Tailwind
colors: {
  custom: {
    50: '#709399',
    500: '#336871',
    950: '#000000',
  },
}
SCSS
$custom: #336871;
$custom-light: #709399;
$custom-dark: #000000;
JSON
{
  "hex": "#336871",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 188.71,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.05804,
    "h": 209.9
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#336871
secondary
#A2685E
accent
#6B5ACE
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #336871

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

Preview Lab → · Contrast checker → · Palette generator →

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