#338684#338684

#338684 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 57.0% C 0.079 H 192.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338684
RGBrgb(51, 134, 132)
HSLhsl(179, 45%, 36%)
HSVhsv(179, 62%, 53%)
CMYKcmyk(61.9%, 0%, 1.5%, 47.5%)
CIE-LABlab(51.17, -25.15, -6.38)
CIE-LCHlch(51.17, 25.94, 194.23°)
OKLaboklab(56.97% -0.0772 -0.0177)
OKLCHoklch(56.97% 0.079 192.9)
XYZxyz(14.0534, 19.4185, 24.8328)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338684 #863335
analogous
#33865B #338684 #335F86
triadic
#338684 #843386 #868433
tetradic
#338684 #5B3386 #863335 #5F8633
square
#338684 #5B3386 #863335 #5F8633
split-complementary
#338684 #86335F #865B33
monochromatic
#112D2D #225A58 #338684 #44B2B0 #6CC7C5

Accessibility & contrast

On white

4.30
#338684 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#338684 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338684
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338684#FFFFFF#000000##000000
##3386841.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8084
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#008A85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338684;
/* rgb */ color: rgb(51, 134, 132);
/* oklch */ color: oklch(57.0% 0.079 192.9);
Tailwind
colors: {
  custom: {
    50: '#75a9a7',
    500: '#338684',
    950: '#000000',
  },
}
SCSS
$custom: #338684;
$custom-light: #75a9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#338684",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 132
  },
  "hsl": {
    "h": 178.554,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.07917,
    "h": 192.9
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#338684
secondary
#AF6668
accent
#5356D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338684

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

Preview Lab → · Contrast checker → · Palette generator →

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