#338A8A#338A8A

#338A8A is a mid, moderate teal. Relative luminance 0.207; OKLCH L 58.2% C 0.082 H 195.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#338A8A
RGBrgb(51, 138, 138)
HSLhsl(180, 46%, 37%)
HSVhsv(180, 63%, 54%)
CMYKcmyk(63%, 0%, 0%, 45.9%)
CIE-LABlab(52.64, -25.40, -7.69)
CIE-LCHlch(52.64, 26.54, 196.85°)
OKLaboklab(58.22% -0.0789 -0.0213)
OKLCHoklch(58.22% 0.082 195.1)
XYZxyz(15.0392, 20.7141, 27.2455)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A8A #8A3333
analogous
#338A5F #338A8A #335F8A
triadic
#338A8A #8A338A #8A8A33
tetradic
#338A8A #5F338A #8A3333 #5F8A33
square
#338A8A #5F338A #8A3333 #5F8A33
split-complementary
#338A8A #8A335F #8A5F33
monochromatic
#123131 #225D5D #338A8A #44B7B7 #6EC9C9

Accessibility & contrast

On white

4.08
#338A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#338A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A8A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A8A#FFFFFF#000000##000000
##338A8A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81838A
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#008E8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338a8a;
/* rgb */ color: rgb(51, 138, 138);
/* oklch */ color: oklch(58.2% 0.082 195.1);
Tailwind
colors: {
  custom: {
    50: '#76acac',
    500: '#338a8a',
    950: '#000000',
  },
}
SCSS
$custom: #338a8a;
$custom-light: #76acac;
$custom-dark: #000000;
JSON
{
  "hex": "#338a8a",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58216,
    "c": 0.08171,
    "h": 195.1
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#338A8A
secondary
#B16767
accent
#5252D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#338A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva