#30815A#30815A

#30815A is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.100 H 159.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#30815A
RGBrgb(48, 129, 90)
HSLhsl(151, 46%, 35%)
HSVhsv(151, 63%, 51%)
CMYKcmyk(62.8%, 0%, 30.2%, 49.4%)
CIE-LABlab(48.34, -34.32, 14.02)
CIE-LCHlch(48.34, 37.07, 157.78°)
OKLaboklab(54.27% -0.0938 0.0356)
OKLCHoklch(54.27% 0.1 159.2)
XYZxyz(10.9136, 17.0660, 12.3898)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30815A #813057
analogous
#308131 #30815A #308081
triadic
#30815A #5A3081 #815A30
tetradic
#30815A #313081 #813057 #808130
square
#30815A #313081 #813057 #808130
split-complementary
#30815A #813080 #813130
monochromatic
#0F281C #1F543B #30815A #41AE79 #66C697

Accessibility & contrast

On white

4.76
#30815A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#30815A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30815A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30815A#FFFFFF#000000##FFFFFF
##30815A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807758
Deuteranopia (green-blind)
#75705C
Tritanopia (blue-blind)
#078077
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30815a;
/* rgb */ color: rgb(48, 129, 90);
/* oklch */ color: oklch(54.3% 0.100 159.2);
Tailwind
colors: {
  custom: {
    50: '#71a688',
    500: '#30815a',
    950: '#000000',
  },
}
SCSS
$custom: #30815a;
$custom-light: #71a688;
$custom-dark: #000000;
JSON
{
  "hex": "#30815a",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 90
  },
  "hsl": {
    "h": 151.111,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.10031,
    "h": 159.2
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#30815A
secondary
#AD6085
accent
#5291D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #30815A

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

Preview Lab → · Contrast checker → · Palette generator →

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