#338087#338087

#338087 is a mid, moderate teal. Relative luminance 0.179; OKLCH L 55.5% C 0.075 H 203.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338087
RGBrgb(51, 128, 135)
HSLhsl(185, 45%, 36%)
HSVhsv(185, 62%, 53%)
CMYKcmyk(62.2%, 5.2%, 0%, 47.1%)
CIE-LABlab(49.36, -21.14, -10.84)
CIE-LCHlch(49.36, 23.76, 207.15°)
OKLaboklab(55.54% -0.069 -0.03)
OKLCHoklch(55.54% 0.075 203.5)
XYZxyz(13.4557, 17.8900, 25.6610)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338087 #873A33
analogous
#338764 #338087 #335687
triadic
#338087 #873380 #808733
tetradic
#338087 #643387 #873A33 #568733
square
#338087 #643387 #873A33 #568733
split-complementary
#338087 #873356 #876433
monochromatic
#112C2E #22565B #338087 #44AAB3 #6DC0C8

Accessibility & contrast

On white

4.59
#338087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338087
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338087#FFFFFF#000000##FFFFFF
##3380871.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767B88
Deuteranopia (green-blind)
#6A7187
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338087;
/* rgb */ color: rgb(51, 128, 135);
/* oklch */ color: oklch(55.5% 0.075 203.5);
Tailwind
colors: {
  custom: {
    50: '#75a5aa',
    500: '#338087',
    950: '#000000',
  },
}
SCSS
$custom: #338087;
$custom-light: #75a5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#338087",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 135
  },
  "hsl": {
    "h": 185,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.07524,
    "h": 203.5
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#338087
secondary
#B06C66
accent
#5E53D5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #338087

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

Preview Lab → · Contrast checker → · Palette generator →

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