#338472#338472

#338472 is a mid, moderate teal. Relative luminance 0.184; OKLCH L 55.8% C 0.084 H 175.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338472
RGBrgb(51, 132, 114)
HSLhsl(167, 44%, 36%)
HSVhsv(167, 61%, 52%)
CMYKcmyk(61.4%, 0%, 13.6%, 48.2%)
CIE-LABlab(50.00, -29.19, 2.42)
CIE-LCHlch(50.00, 29.29, 175.27°)
OKLaboklab(55.84% -0.0835 0.006)
OKLCHoklch(55.84% 0.084 175.9)
XYZxyz(12.6524, 18.4200, 18.8050)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338472 #843345
analogous
#338449 #338472 #336D84
triadic
#338472 #723384 #847233
tetradic
#338472 #493384 #843345 #6D8433
square
#338472 #493384 #843345 #6D8433
split-complementary
#338472 #84336D #844933
monochromatic
#112C26 #22584C #338472 #44B098 #6BC6B2

Accessibility & contrast

On white

4.48
#338472 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#338472 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338472
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338472#FFFFFF#000000##000000
##3384721.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7C71
Deuteranopia (green-blind)
#737373
Tritanopia (blue-blind)
#00867F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338472;
/* rgb */ color: rgb(51, 132, 114);
/* oklch */ color: oklch(55.8% 0.084 175.9);
Tailwind
colors: {
  custom: {
    50: '#74a89a',
    500: '#338472',
    950: '#000000',
  },
}
SCSS
$custom: #338472;
$custom-light: #74a89a;
$custom-dark: #000000;
JSON
{
  "hex": "#338472",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 114
  },
  "hsl": {
    "h": 166.667,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.08369,
    "h": 175.9
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#338472
secondary
#AE6575
accent
#5470D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338472

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

Preview Lab → · Contrast checker → · Palette generator →

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