#338F98#338F98

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

Color values

HEX#338F98
RGBrgb(51, 143, 152)
HSLhsl(185, 50%, 40%)
HSVhsv(185, 66%, 60%)
CMYKcmyk(66.4%, 5.9%, 0%, 40.4%)
CIE-LABlab(54.67, -23.72, -12.73)
CIE-LCHlch(54.67, 26.93, 208.22°)
OKLaboklab(60.02% -0.0781 -0.0353)
OKLCHoklch(60.02% 0.086 204.3)
XYZxyz(16.8528, 22.6139, 33.1764)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F98 #983C33
analogous
#33986F #338F98 #335C98
triadic
#338F98 #98338F #8F9833
tetradic
#338F98 #6F3398 #983C33 #5C9833
square
#338F98 #6F3398 #983C33 #5C9833
split-complementary
#338F98 #98335C #986F33
monochromatic
#14393C #24646A #338F98 #47B6C1 #75C8D1

Accessibility & contrast

On white

3.80
#338F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#338F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F98
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F98#FFFFFF#000000##000000
##338F981.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#848999
Deuteranopia (green-blind)
#757E98
Tritanopia (blue-blind)
#009592
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338f98;
/* rgb */ color: rgb(51, 143, 152);
/* oklch */ color: oklch(60.0% 0.086 204.3);
Tailwind
colors: {
  custom: {
    50: '#78b0b6',
    500: '#338f98',
    950: '#000000',
  },
}
SCSS
$custom: #338f98;
$custom-light: #78b0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#338f98",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 152
  },
  "hsl": {
    "h": 185.347,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.08568,
    "h": 204.3
  },
  "luminance": 0.22616
}

Semantic roles & 50–950 ramp

primary
#338F98
secondary
#B9756E
accent
#5B4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338F98

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

Preview Lab → · Contrast checker → · Palette generator →

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