#338272#338272

#338272 is a mid, moderate teal. Relative luminance 0.179; OKLCH L 55.3% C 0.081 H 177.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338272
RGBrgb(51, 130, 114)
HSLhsl(168, 44%, 35%)
HSVhsv(168, 61%, 51%)
CMYKcmyk(60.8%, 0%, 12.3%, 49%)
CIE-LABlab(49.35, -28.22, 1.48)
CIE-LCHlch(49.35, 28.26, 177.00°)
OKLaboklab(55.32% -0.0812 0.0035)
OKLCHoklch(55.32% 0.081 177.5)
XYZxyz(12.3837, 17.8827, 18.7154)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338272 #823343
analogous
#33824A #338272 #336A82
triadic
#338272 #723382 #827233
tetradic
#338272 #4A3382 #823343 #6A8233
square
#338272 #4A3382 #823343 #6A8233
split-complementary
#338272 #82336A #824A33
monochromatic
#112A25 #22564B #338272 #44AE99 #6BC5B3

Accessibility & contrast

On white

4.59
#338272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338272 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338272
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338272#FFFFFF#000000##FFFFFF
##3382721.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A71
Deuteranopia (green-blind)
#717273
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338272;
/* rgb */ color: rgb(51, 130, 114);
/* oklch */ color: oklch(55.3% 0.081 177.5);
Tailwind
colors: {
  custom: {
    50: '#73a79a',
    500: '#338272',
    950: '#000000',
  },
}
SCSS
$custom: #338272;
$custom-light: #73a79a;
$custom-dark: #000000;
JSON
{
  "hex": "#338272",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 114
  },
  "hsl": {
    "h": 167.848,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55316,
    "c": 0.08123,
    "h": 177.5
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#338272
secondary
#AD6473
accent
#546ED3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338272

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

Preview Lab → · Contrast checker → · Palette generator →

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