#338E9F#338E9F

#338E9F is a mid, moderate teal. Relative luminance 0.226; OKLCH L 60.0% C 0.088 H 212.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#338E9F
RGBrgb(51, 142, 159)
HSLhsl(189, 51%, 41%)
HSVhsv(189, 68%, 62%)
CMYKcmyk(67.9%, 10.7%, 0%, 37.6%)
CIE-LABlab(54.61, -21.01, -16.86)
CIE-LCHlch(54.61, 26.94, 218.74°)
OKLaboklab(60.04% -0.074 -0.0469)
OKLCHoklch(60.04% 0.088 212.3)
XYZxyz(17.2936, 22.5511, 36.2356)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E9F #9F4433
analogous
#339F7A #338E9F #33589F
triadic
#338E9F #9F338E #8E9F33
tetradic
#338E9F #7A339F #9F4433 #589F33
square
#338E9F #7A339F #9F4433 #589F33
split-complementary
#338E9F #9F3358 #9F7A33
monochromatic
#153B42 #246571 #338E9F #4AB2C5 #79C5D4

Accessibility & contrast

On white

3.81
#338E9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#338E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E9F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E9F#FFFFFF#000000##000000
##338E9F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8189A0
Deuteranopia (green-blind)
#717E9F
Tritanopia (blue-blind)
#009593
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338e9f;
/* rgb */ color: rgb(51, 142, 159);
/* oklch */ color: oklch(60.0% 0.088 212.3);
Tailwind
colors: {
  custom: {
    50: '#79afbb',
    500: '#338e9f',
    950: '#000000',
  },
}
SCSS
$custom: #338e9f;
$custom-light: #79afbb;
$custom-dark: #000000;
JSON
{
  "hex": "#338e9f",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 159
  },
  "hsl": {
    "h": 189.444,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.08759,
    "h": 212.3
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#338E9F
secondary
#BC7D71
accent
#634DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338E9F

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

Preview Lab → · Contrast checker → · Palette generator →

#338E9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva