#38878E#38878E

#38878E is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.8% C 0.077 H 203.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#38878E
RGBrgb(56, 135, 142)
HSLhsl(185, 43%, 39%)
HSVhsv(185, 61%, 56%)
CMYKcmyk(60.6%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.97, -21.74, -10.99)
CIE-LCHlch(51.97, 24.36, 206.83°)
OKLaboklab(57.77% -0.0707 -0.0304)
OKLCHoklch(57.77% 0.077 203.3)
XYZxyz(15.1753, 20.1201, 28.6698)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38878E #8E3F38
analogous
#388E6A #38878E #385C8E
triadic
#38878E #8E3887 #878E38
tetradic
#38878E #6A388E #8E3F38 #5C8E38
square
#38878E #6A388E #8E3F38 #5C8E38
split-complementary
#38878E #8E385C #8E6A38
monochromatic
#153436 #275D62 #38878E #4BAFB8 #77C3C9

Accessibility & contrast

On white

4.18
#38878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#38878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38878E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38878E#FFFFFF#000000##000000
##38878E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D828F
Deuteranopia (green-blind)
#70788E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #38878e;
/* rgb */ color: rgb(56, 135, 142);
/* oklch */ color: oklch(57.8% 0.077 203.3);
Tailwind
colors: {
  custom: {
    50: '#78aaaf',
    500: '#38878e',
    950: '#000000',
  },
}
SCSS
$custom: #38878e;
$custom-light: #78aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#38878e",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.884,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.07702,
    "h": 203.3
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#38878E
secondary
#B2756F
accent
#5F55D3
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #38878E

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

Preview Lab → · Contrast checker → · Palette generator →

#38878E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva