#338387#338387

#338387 is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.3% C 0.077 H 199.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338387
RGBrgb(51, 131, 135)
HSLhsl(183, 45%, 36%)
HSVhsv(183, 62%, 53%)
CMYKcmyk(62.2%, 3%, 0%, 47.1%)
CIE-LABlab(50.32, -22.71, -9.41)
CIE-LCHlch(50.32, 24.59, 202.51°)
OKLaboklab(56.31% -0.0724 -0.0261)
OKLCHoklch(56.31% 0.077 199.8)
XYZxyz(13.8528, 18.6842, 25.7933)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338387 #873733
analogous
#338761 #338387 #335987
triadic
#338387 #873383 #838733
tetradic
#338387 #613387 #873733 #598733
square
#338387 #613387 #873733 #598733
split-complementary
#338387 #873359 #876133
monochromatic
#112D2E #22585B #338387 #44AEB3 #6DC3C8

Accessibility & contrast

On white

4.43
#338387 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338387 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338387
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338387#FFFFFF#000000##000000
##3383871.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7D87
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#008884
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338387;
/* rgb */ color: rgb(51, 131, 135);
/* oklch */ color: oklch(56.3% 0.077 199.8);
Tailwind
colors: {
  custom: {
    50: '#75a7a9',
    500: '#338387',
    950: '#000000',
  },
}
SCSS
$custom: #338387;
$custom-light: #75a7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#338387",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 135
  },
  "hsl": {
    "h": 182.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.07694,
    "h": 199.8
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#338387
secondary
#B06A66
accent
#5953D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #338387

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

Preview Lab → · Contrast checker → · Palette generator →

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