#30815F#30815F

#30815F is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.4% C 0.096 H 162.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#30815F
RGBrgb(48, 129, 95)
HSLhsl(155, 46%, 35%)
HSVhsv(155, 63%, 51%)
CMYKcmyk(62.8%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.45, -33.17, 11.28)
CIE-LCHlch(48.45, 35.04, 161.22°)
OKLaboklab(54.4% -0.0913 0.0288)
OKLCHoklch(54.4% 0.096 162.5)
XYZxyz(11.1337, 17.1540, 13.5486)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30815F #813052
analogous
#308137 #30815F #307B81
triadic
#30815F #5F3081 #815F30
tetradic
#30815F #373081 #813052 #7B8130
square
#30815F #373081 #813052 #7B8130
split-complementary
#30815F #81307B #813730
monochromatic
#0F281D #1F543E #30815F #41AE80 #66C69D

Accessibility & contrast

On white

4.74
#30815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#30815F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30815F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30815F#FFFFFF#000000##FFFFFF
##30815F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785D
Deuteranopia (green-blind)
#747061
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30815f;
/* rgb */ color: rgb(48, 129, 95);
/* oklch */ color: oklch(54.4% 0.096 162.5);
Tailwind
colors: {
  custom: {
    50: '#71a68c',
    500: '#30815f',
    950: '#000000',
  },
}
SCSS
$custom: #30815f;
$custom-light: #71a68c;
$custom-dark: #000000;
JSON
{
  "hex": "#30815f",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 154.815,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.0957,
    "h": 162.5
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#30815F
secondary
#AD6080
accent
#5289D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #30815F

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

Preview Lab → · Contrast checker → · Palette generator →

#30815F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva