#338573#338573

#338573 is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.1% C 0.084 H 176.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338573
RGBrgb(51, 133, 115)
HSLhsl(167, 45%, 36%)
HSVhsv(167, 62%, 52%)
CMYKcmyk(61.7%, 0%, 13.5%, 47.8%)
CIE-LABlab(50.35, -29.41, 2.34)
CIE-LCHlch(50.35, 29.50, 175.45°)
OKLaboklab(56.14% -0.0841 0.0058)
OKLCHoklch(56.14% 0.084 176.1)
XYZxyz(12.8458, 18.7154, 19.1518)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338573 #853345
analogous
#33854A #338573 #336E85
triadic
#338573 #733385 #857333
tetradic
#338573 #4A3385 #853345 #6E8533
square
#338573 #4A3385 #853345 #6E8533
split-complementary
#338573 #85336E #854A33
monochromatic
#112D26 #22594D #338573 #44B199 #6CC7B3

Accessibility & contrast

On white

4.43
#338573 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338573 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338573
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338573#FFFFFF#000000##000000
##3385731.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#807D72
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#008780
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338573;
/* rgb */ color: rgb(51, 133, 115);
/* oklch */ color: oklch(56.1% 0.084 176.1);
Tailwind
colors: {
  custom: {
    50: '#74a99b',
    500: '#338573',
    950: '#000000',
  },
}
SCSS
$custom: #338573;
$custom-light: #74a99b;
$custom-dark: #000000;
JSON
{
  "hex": "#338573",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 115
  },
  "hsl": {
    "h": 166.829,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.08434,
    "h": 176.1
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#338573
secondary
#AE6575
accent
#5470D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338573

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

Preview Lab → · Contrast checker → · Palette generator →

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