#338796#338796

#338796 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.9% C 0.082 H 211.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#338796
RGBrgb(51, 135, 150)
HSLhsl(189, 49%, 39%)
HSVhsv(189, 66%, 59%)
CMYKcmyk(66%, 10%, 0%, 41.2%)
CIE-LABlab(52.10, -20.17, -15.47)
CIE-LCHlch(52.10, 25.42, 217.49°)
OKLaboklab(57.92% -0.0703 -0.043)
OKLCHoklch(57.92% 0.082 211.4)
XYZxyz(15.5319, 20.2321, 31.9349)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338796 #964233
analogous
#339674 #338796 #335696
triadic
#338796 #963387 #879633
tetradic
#338796 #743396 #964233 #569633
square
#338796 #743396 #964233 #569633
split-complementary
#338796 #963356 #967433
monochromatic
#14353B #235E68 #338796 #46AEC0 #74C2D0

Accessibility & contrast

On white

4.16
#338796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#338796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338796
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338796#FFFFFF#000000##000000
##3387961.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8297
Deuteranopia (green-blind)
#6C7896
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338796;
/* rgb */ color: rgb(51, 135, 150);
/* oklch */ color: oklch(57.9% 0.082 211.4);
Tailwind
colors: {
  custom: {
    50: '#77aab4',
    500: '#338796',
    950: '#000000',
  },
}
SCSS
$custom: #338796;
$custom-light: #77aab4;
$custom-dark: #000000;
JSON
{
  "hex": "#338796",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 150
  },
  "hsl": {
    "h": 189.091,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.08234,
    "h": 211.4
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#338796
secondary
#B8786D
accent
#644FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338796

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

Preview Lab → · Contrast checker → · Palette generator →

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