#338873#338873

#338873 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.9% C 0.088 H 173.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#338873
RGBrgb(51, 136, 115)
HSLhsl(165, 45%, 37%)
HSVhsv(165, 63%, 53%)
CMYKcmyk(62.5%, 0%, 15.4%, 46.7%)
CIE-LABlab(51.32, -30.85, 3.75)
CIE-LCHlch(51.32, 31.07, 173.08°)
OKLaboklab(56.93% -0.0876 0.0094)
OKLCHoklch(56.93% 0.088 173.8)
XYZxyz(13.2624, 19.5486, 19.2906)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338873 #883348
analogous
#338848 #338873 #337388
triadic
#338873 #733388 #887333
tetradic
#338873 #483388 #883348 #738833
square
#338873 #483388 #883348 #738833
split-complementary
#338873 #883373 #884833
monochromatic
#122F28 #225B4D #338873 #44B599 #6DC8B2

Accessibility & contrast

On white

4.28
#338873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#338873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338873
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338873#FFFFFF#000000##000000
##3388731.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#848072
Deuteranopia (green-blind)
#777775
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338873;
/* rgb */ color: rgb(51, 136, 115);
/* oklch */ color: oklch(56.9% 0.088 173.8);
Tailwind
colors: {
  custom: {
    50: '#74ab9b',
    500: '#338873',
    950: '#000000',
  },
}
SCSS
$custom: #338873;
$custom-light: #74ab9b;
$custom-dark: #000000;
JSON
{
  "hex": "#338873",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 115
  },
  "hsl": {
    "h": 165.176,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.08808,
    "h": 173.8
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#338873
secondary
#B06779
accent
#5373D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338873

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

Preview Lab → · Contrast checker → · Palette generator →

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