#38877C#38877C

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

Color values

HEX#38877C
RGBrgb(56, 135, 124)
HSLhsl(172, 41%, 37%)
HSVhsv(172, 59%, 53%)
CMYKcmyk(58.5%, 0%, 8.1%, 47.1%)
CIE-LABlab(51.41, -26.93, -1.35)
CIE-LCHlch(51.41, 26.96, 182.87°)
OKLaboklab(57.12% -0.079 -0.0041)
OKLCHoklch(57.12% 0.079 182.9)
XYZxyz(13.9313, 19.6226, 22.1182)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38877C #873843
analogous
#388755 #38877C #386A87
triadic
#38877C #7C3887 #877C38
tetradic
#38877C #553887 #873843 #6A8738
square
#38877C #553887 #873843 #6A8738
split-complementary
#38877C #87386A #875538
monochromatic
#14302D #265C54 #38877C #4AB2A4 #74C5BA

Accessibility & contrast

On white

4.26
#38877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##38877C#FFFFFF#000000##000000
##38877C1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807C
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #38877c;
/* rgb */ color: rgb(56, 135, 124);
/* oklch */ color: oklch(57.1% 0.079 182.9);
Tailwind
colors: {
  custom: {
    50: '#77aaa1',
    500: '#38877c',
    950: '#000000',
  },
}
SCSS
$custom: #38877c;
$custom-light: #77aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#38877c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 171.646,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.07915,
    "h": 182.9
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#38877C
secondary
#AE6D76
accent
#5768D1
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #38877C

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

Preview Lab → · Contrast checker → · Palette generator →

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