#338784#338784

#338784 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.080 H 191.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#338784
RGBrgb(51, 135, 132)
HSLhsl(178, 45%, 36%)
HSVhsv(178, 62%, 53%)
CMYKcmyk(62.2%, 0%, 2.2%, 47.1%)
CIE-LABlab(51.49, -25.65, -5.91)
CIE-LCHlch(51.49, 26.32, 192.96°)
OKLaboklab(57.23% -0.0783 -0.0164)
OKLCHoklch(57.23% 0.08 191.9)
XYZxyz(14.1922, 19.6962, 24.8791)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338784 #873336
analogous
#33875A #338784 #336087
triadic
#338784 #843387 #878433
tetradic
#338784 #5A3387 #873336 #608733
square
#338784 #5A3387 #873336 #608733
split-complementary
#338784 #873360 #875A33
monochromatic
#112E2D #225B59 #338784 #44B3AF #6DC8C4

Accessibility & contrast

On white

4.25
#338784 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#338784 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338784
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338784#FFFFFF#000000##000000
##3387841.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8084
Deuteranopia (green-blind)
#727785
Tritanopia (blue-blind)
#008B86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338784;
/* rgb */ color: rgb(51, 135, 132);
/* oklch */ color: oklch(57.2% 0.080 191.9);
Tailwind
colors: {
  custom: {
    50: '#75aaa7',
    500: '#338784',
    950: '#000000',
  },
}
SCSS
$custom: #338784;
$custom-light: #75aaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#338784",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 132
  },
  "hsl": {
    "h": 177.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.07999,
    "h": 191.9
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#338784
secondary
#B06669
accent
#5358D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338784

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

Preview Lab → · Contrast checker → · Palette generator →

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