#338178#338178

#338178 is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.3% C 0.077 H 184.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#338178
RGBrgb(51, 129, 120)
HSLhsl(173, 43%, 35%)
HSVhsv(173, 60%, 51%)
CMYKcmyk(60.5%, 0%, 7%, 49.4%)
CIE-LABlab(49.20, -26.07, -2.27)
CIE-LCHlch(49.20, 26.17, 184.97°)
OKLaboklab(55.25% -0.0771 -0.0065)
OKLCHoklch(55.25% 0.077 184.8)
XYZxyz(12.6042, 17.7591, 20.5293)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338178 #81333C
analogous
#338151 #338178 #336381
triadic
#338178 #783381 #817833
tetradic
#338178 #513381 #81333C #638133
square
#338178 #513381 #81333C #638133
split-complementary
#338178 #813363 #815133
monochromatic
#102926 #22554F #338178 #44ADA1 #6AC4BA

Accessibility & contrast

On white

4.61
#338178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#338178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338178
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338178#FFFFFF#000000##FFFFFF
##3381781.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A78
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338178;
/* rgb */ color: rgb(51, 129, 120);
/* oklch */ color: oklch(55.3% 0.077 184.8);
Tailwind
colors: {
  custom: {
    50: '#74a69e',
    500: '#338178',
    950: '#000000',
  },
}
SCSS
$custom: #338178;
$custom-light: #74a69e;
$custom-dark: #000000;
JSON
{
  "hex": "#338178",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 173.077,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.07738,
    "h": 184.8
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#338178
secondary
#AC646C
accent
#5563D3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338178

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

Preview Lab → · Contrast checker → · Palette generator →

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