#338786#338786

#338786 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.3% C 0.080 H 194.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#338786
RGBrgb(51, 135, 134)
HSLhsl(179, 45%, 36%)
HSVhsv(179, 62%, 53%)
CMYKcmyk(62.2%, 0%, 0.7%, 47.1%)
CIE-LABlab(51.56, -25.07, -6.98)
CIE-LCHlch(51.56, 26.02, 195.55°)
OKLaboklab(57.3% -0.0774 -0.0194)
OKLCHoklch(57.3% 0.08 194.1)
XYZxyz(14.3304, 19.7515, 25.6068)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338786 #873334
analogous
#33875C #338786 #335E87
triadic
#338786 #863387 #878633
tetradic
#338786 #5C3387 #873334 #5E8733
square
#338786 #5C3387 #873334 #5E8733
split-complementary
#338786 #87335E #875C33
monochromatic
#112E2E #225B5A #338786 #44B3B2 #6DC8C7

Accessibility & contrast

On white

4.24
#338786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#338786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338786
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338786#FFFFFF#000000##000000
##3387861.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8186
Deuteranopia (green-blind)
#717787
Tritanopia (blue-blind)
#008B86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338786;
/* rgb */ color: rgb(51, 135, 134);
/* oklch */ color: oklch(57.3% 0.080 194.1);
Tailwind
colors: {
  custom: {
    50: '#75aaa9',
    500: '#338786',
    950: '#000000',
  },
}
SCSS
$custom: #338786;
$custom-light: #75aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#338786",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 134
  },
  "hsl": {
    "h": 179.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.07975,
    "h": 194.1
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#338786
secondary
#B06667
accent
#5354D5
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338786

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

Preview Lab → · Contrast checker → · Palette generator →

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