#338581#338581

#338581 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.6% C 0.079 H 190.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#338581
RGBrgb(51, 133, 129)
HSLhsl(177, 45%, 36%)
HSVhsv(177, 62%, 52%)
CMYKcmyk(61.7%, 0%, 3%, 47.8%)
CIE-LABlab(50.76, -25.51, -5.24)
CIE-LCHlch(50.76, 26.05, 191.61°)
OKLaboklab(56.6% -0.0774 -0.0146)
OKLCHoklch(56.6% 0.079 190.7)
XYZxyz(13.7135, 19.0624, 23.7213)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338581 #853337
analogous
#338558 #338581 #336085
triadic
#338581 #813385 #858133
tetradic
#338581 #583385 #853337 #608533
square
#338581 #583385 #853337 #608533
split-complementary
#338581 #853360 #855833
monochromatic
#112D2B #225956 #338581 #44B1AC #6CC7C2

Accessibility & contrast

On white

4.36
#338581 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#338581 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338581
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338581#FFFFFF#000000##000000
##3385811.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7E81
Deuteranopia (green-blind)
#717582
Tritanopia (blue-blind)
#008884
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338581;
/* rgb */ color: rgb(51, 133, 129);
/* oklch */ color: oklch(56.6% 0.079 190.7);
Tailwind
colors: {
  custom: {
    50: '#75a9a5',
    500: '#338581',
    950: '#000000',
  },
}
SCSS
$custom: #338581;
$custom-light: #75a9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#338581",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 129
  },
  "hsl": {
    "h": 177.073,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.07879,
    "h": 190.7
  },
  "luminance": 0.19064
}

Semantic roles & 50–950 ramp

primary
#338581
secondary
#AE6569
accent
#545AD4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338581

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

Preview Lab → · Contrast checker → · Palette generator →

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