#338688#338688

#338688 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 57.1% C 0.079 H 197.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#338688
RGBrgb(51, 134, 136)
HSLhsl(181, 45%, 37%)
HSVhsv(181, 63%, 53%)
CMYKcmyk(62.5%, 1.5%, 0%, 46.7%)
CIE-LABlab(51.30, -23.96, -8.52)
CIE-LCHlch(51.30, 25.43, 199.58°)
OKLaboklab(57.12% -0.0753 -0.0236)
OKLCHoklch(57.12% 0.079 197.4)
XYZxyz(14.3323, 19.5301, 26.3021)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338688 #883533
analogous
#338860 #338688 #335C88
triadic
#338688 #883386 #868833
tetradic
#338688 #603388 #883533 #5C8833
square
#338688 #603388 #883533 #5C8833
split-complementary
#338688 #88335C #886033
monochromatic
#122E2F #225A5B #338688 #44B2B5 #6DC6C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338688#FFFFFF#000000##000000
##3386881.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)
#7D8088
Deuteranopia (green-blind)
#707689
Tritanopia (blue-blind)
#008A86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338688;
/* rgb */ color: rgb(51, 134, 136);
/* oklch */ color: oklch(57.1% 0.079 197.4);
Tailwind
colors: {
  custom: {
    50: '#75a9aa',
    500: '#338688',
    950: '#000000',
  },
}
SCSS
$custom: #338688;
$custom-light: #75a9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#338688",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 136
  },
  "hsl": {
    "h": 181.412,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.07893,
    "h": 197.4
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#338688
secondary
#B06867
accent
#5653D5
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338688

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

Preview Lab → · Contrast checker → · Palette generator →

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