#338795#338795

#338795 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.9% C 0.082 H 210.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#338795
RGBrgb(51, 135, 149)
HSLhsl(189, 49%, 39%)
HSVhsv(189, 66%, 58%)
CMYKcmyk(65.8%, 9.4%, 0%, 41.6%)
CIE-LABlab(52.06, -20.49, -14.94)
CIE-LCHlch(52.06, 25.36, 216.11°)
OKLaboklab(57.88% -0.0707 -0.0415)
OKLCHoklch(57.88% 0.082 210.4)
XYZxyz(15.4518, 20.2000, 31.5126)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338795 #954133
analogous
#339572 #338795 #335695
triadic
#338795 #953387 #879533
tetradic
#338795 #723395 #954133 #569533
square
#338795 #723395 #954133 #569533
split-complementary
#338795 #953356 #957233
monochromatic
#14343A #235E67 #338795 #46AEC0 #73C2CF

Accessibility & contrast

On white

4.17
#338795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#338795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338795
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338795#FFFFFF#000000##000000
##3387951.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8296
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#008D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338795;
/* rgb */ color: rgb(51, 135, 149);
/* oklch */ color: oklch(57.9% 0.082 210.4);
Tailwind
colors: {
  custom: {
    50: '#77aab4',
    500: '#338795',
    950: '#000000',
  },
}
SCSS
$custom: #338795;
$custom-light: #77aab4;
$custom-dark: #000000;
JSON
{
  "hex": "#338795",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 149
  },
  "hsl": {
    "h": 188.571,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.08195,
    "h": 210.4
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#338795
secondary
#B7776C
accent
#634FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338795

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

Preview Lab → · Contrast checker → · Palette generator →

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