#338788#338788

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

Color values

HEX#338788
RGBrgb(51, 135, 136)
HSLhsl(181, 45%, 37%)
HSVhsv(181, 63%, 53%)
CMYKcmyk(62.5%, 0.7%, 0%, 46.7%)
CIE-LABlab(51.62, -24.47, -8.05)
CIE-LCHlch(51.62, 25.76, 198.20°)
OKLaboklab(57.37% -0.0764 -0.0223)
OKLCHoklch(57.37% 0.08 196.3)
XYZxyz(14.4712, 19.8078, 26.3484)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338788 #883433
analogous
#33885F #338788 #335D88
triadic
#338788 #883387 #878833
tetradic
#338788 #5F3388 #883433 #5D8833
square
#338788 #5F3388 #883433 #5D8833
split-complementary
#338788 #88335D #885F33
monochromatic
#122F2F #225B5B #338788 #44B3B5 #6DC7C8

Accessibility & contrast

On white

4.23
#338788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#338788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338788
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338788#FFFFFF#000000##000000
##3387881.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8188
Deuteranopia (green-blind)
#717789
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338788;
/* rgb */ color: rgb(51, 135, 136);
/* oklch */ color: oklch(57.4% 0.080 196.3);
Tailwind
colors: {
  custom: {
    50: '#76aaaa',
    500: '#338788',
    950: '#000000',
  },
}
SCSS
$custom: #338788;
$custom-light: #76aaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#338788",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 136
  },
  "hsl": {
    "h": 180.706,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.07963,
    "h": 196.3
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#338788
secondary
#B06767
accent
#5453D5
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338788

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

Preview Lab → · Contrast checker → · Palette generator →

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