#339987#339987

#339987 is a mid, moderate teal. Relative luminance 0.252; OKLCH L 62.0% C 0.097 H 178.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#339987
RGBrgb(51, 153, 135)
HSLhsl(169, 50%, 40%)
HSVhsv(169, 67%, 60%)
CMYKcmyk(66.7%, 0%, 11.8%, 40%)
CIE-LABlab(57.30, -33.54, 0.91)
CIE-LCHlch(57.30, 33.56, 178.44°)
OKLaboklab(61.98% -0.0967 0.0019)
OKLCHoklch(61.98% 0.097 178.9)
XYZxyz(17.1276, 25.2337, 26.8849)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339987 #993345
analogous
#339954 #339987 #337899
triadic
#339987 #873399 #998733
tetradic
#339987 #543399 #993345 #789933
square
#339987 #543399 #993345 #789933
split-complementary
#339987 #993378 #995433
monochromatic
#143D36 #246B5F #339987 #47C2AC #75D1C1

Accessibility & contrast

On white

3.47
#339987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#339987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339987
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339987#FFFFFF#000000##000000
##3399871.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#939086
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#009B94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339987;
/* rgb */ color: rgb(51, 153, 135);
/* oklch */ color: oklch(62.0% 0.097 178.9);
Tailwind
colors: {
  custom: {
    50: '#78b7a9',
    500: '#339987',
    950: '#000000',
  },
}
SCSS
$custom: #339987;
$custom-light: #78b7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#339987",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 135
  },
  "hsl": {
    "h": 169.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.09676,
    "h": 178.9
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#339987
secondary
#B96E7C
accent
#4E67DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #339987

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

Preview Lab → · Contrast checker → · Palette generator →

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