#338679#338679

#338679 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.6% C 0.082 H 181.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#338679
RGBrgb(51, 134, 121)
HSLhsl(171, 45%, 36%)
HSVhsv(171, 62%, 53%)
CMYKcmyk(61.9%, 0%, 9.7%, 47.5%)
CIE-LABlab(50.84, -28.27, -0.45)
CIE-LCHlch(50.84, 28.28, 180.90°)
OKLaboklab(56.59% -0.0824 -0.0017)
OKLCHoklch(56.59% 0.082 181.2)
XYZxyz(13.3400, 19.1331, 21.0755)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338679 #863340
analogous
#338650 #338679 #336A86
triadic
#338679 #793386 #867933
tetradic
#338679 #503386 #863340 #6A8633
square
#338679 #503386 #863340 #6A8633
split-complementary
#338679 #86336A #865033
monochromatic
#112D29 #225A51 #338679 #44B2A1 #6CC7B9

Accessibility & contrast

On white

4.35
#338679 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#338679 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338679
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338679#FFFFFF#000000##000000
##3386791.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#807E79
Deuteranopia (green-blind)
#74757A
Tritanopia (blue-blind)
#008882
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338679;
/* rgb */ color: rgb(51, 134, 121);
/* oklch */ color: oklch(56.6% 0.082 181.2);
Tailwind
colors: {
  custom: {
    50: '#74a99f',
    500: '#338679',
    950: '#000000',
  },
}
SCSS
$custom: #338679;
$custom-light: #74a99f;
$custom-dark: #000000;
JSON
{
  "hex": "#338679",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 121
  },
  "hsl": {
    "h": 170.602,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.08239,
    "h": 181.2
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#338679
secondary
#AF6671
accent
#5367D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338679

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

Preview Lab → · Contrast checker → · Palette generator →

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