#38877B#38877B

#38877B is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.080 H 181.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#38877B
RGBrgb(56, 135, 123)
HSLhsl(171, 41%, 37%)
HSVhsv(171, 59%, 53%)
CMYKcmyk(58.5%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.38, -27.20, -0.81)
CIE-LCHlch(51.38, 27.21, 181.70°)
OKLaboklab(57.09% -0.0795 -0.0026)
OKLCHoklch(57.09% 0.08 181.9)
XYZxyz(13.8684, 19.5974, 21.7869)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38877B #873844
analogous
#388754 #38877B #386C87
triadic
#38877B #7B3887 #877B38
tetradic
#38877B #543887 #873844 #6C8738
square
#38877B #543887 #873844 #6C8738
split-complementary
#38877B #87386C #875438
monochromatic
#14302C #265C54 #38877B #4AB2A2 #74C5B9

Accessibility & contrast

On white

4.27
#38877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#38877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38877B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38877B#FFFFFF#000000##000000
##38877B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807B
Deuteranopia (green-blind)
#75777C
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #38877b;
/* rgb */ color: rgb(56, 135, 123);
/* oklch */ color: oklch(57.1% 0.080 181.9);
Tailwind
colors: {
  custom: {
    50: '#77aaa1',
    500: '#38877b',
    950: '#000000',
  },
}
SCSS
$custom: #38877b;
$custom-light: #77aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#38877b",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 170.886,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.07956,
    "h": 181.9
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#38877B
secondary
#AE6D77
accent
#5769D1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #38877B

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

Preview Lab → · Contrast checker → · Palette generator →

#38877B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva