#30877B#30877B

#30877B is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.084 H 182.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#30877B
RGBrgb(48, 135, 123)
HSLhsl(172, 48%, 36%)
HSVhsv(172, 64%, 53%)
CMYKcmyk(64.4%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.13, -28.78, -1.20)
CIE-LCHlch(51.13, 28.80, 182.38°)
OKLaboklab(56.82% -0.0842 -0.0037)
OKLCHoklch(56.82% 0.084 182.5)
XYZxyz(13.4564, 19.3849, 21.7676)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30877B #87303C
analogous
#30874F #30877B #306787
triadic
#30877B #7B3087 #877B30
tetradic
#30877B #4F3087 #87303C #678730
square
#30877B #4F3087 #87303C #678730
split-complementary
#30877B #873067 #874F30
monochromatic
#102D29 #205A52 #30877B #40B4A4 #68C9BC

Accessibility & contrast

On white

4.31
#30877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#30877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30877B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30877B#FFFFFF#000000##000000
##30877B1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7B
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #30877b;
/* rgb */ color: rgb(48, 135, 123);
/* oklch */ color: oklch(56.8% 0.084 182.5);
Tailwind
colors: {
  custom: {
    50: '#73aaa1',
    500: '#30877b',
    950: '#000000',
  },
}
SCSS
$custom: #30877b;
$custom-light: #73aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#30877b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 171.724,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.08431,
    "h": 182.5
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#30877B
secondary
#B1626D
accent
#5163D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #30877B

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

Preview Lab → · Contrast checker → · Palette generator →

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