#338997#338997

#338997 is a mid, moderate teal. Relative luminance 0.208; OKLCH L 58.5% C 0.083 H 210.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#338997
RGBrgb(51, 137, 151)
HSLhsl(188, 50%, 40%)
HSVhsv(188, 66%, 59%)
CMYKcmyk(66.2%, 9.3%, 0%, 40.8%)
CIE-LABlab(52.76, -20.91, -15.05)
CIE-LCHlch(52.76, 25.76, 215.73°)
OKLaboklab(58.46% -0.072 -0.0418)
OKLCHoklch(58.46% 0.083 210.1)
XYZxyz(15.8945, 20.8278, 32.4546)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338997 #974133
analogous
#339773 #338997 #335797
triadic
#338997 #973389 #899733
tetradic
#338997 #733397 #974133 #579733
square
#338997 #733397 #974133 #579733
split-complementary
#338997 #973357 #977333
monochromatic
#14363C #245F69 #338997 #47B0C1 #74C3D0

Accessibility & contrast

On white

4.07
#338997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#338997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338997
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338997#FFFFFF#000000##000000
##3389971.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8498
Deuteranopia (green-blind)
#6E7997
Tritanopia (blue-blind)
#008F8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338997;
/* rgb */ color: rgb(51, 137, 151);
/* oklch */ color: oklch(58.5% 0.083 210.1);
Tailwind
colors: {
  custom: {
    50: '#77abb5',
    500: '#338997',
    950: '#000000',
  },
}
SCSS
$custom: #338997;
$custom-light: #77abb5;
$custom-dark: #000000;
JSON
{
  "hex": "#338997",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 151
  },
  "hsl": {
    "h": 188.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.08324,
    "h": 210.1
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338997

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

Preview Lab → · Contrast checker → · Palette generator →

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