#30815B#30815B

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

Color values

HEX#30815B
RGBrgb(48, 129, 91)
HSLhsl(152, 46%, 35%)
HSVhsv(152, 63%, 51%)
CMYKcmyk(62.8%, 0%, 29.5%, 49.4%)
CIE-LABlab(48.36, -34.09, 13.47)
CIE-LCHlch(48.36, 36.66, 158.44°)
OKLaboklab(54.3% -0.0933 0.0343)
OKLCHoklch(54.3% 0.099 159.8)
XYZxyz(10.9565, 17.0831, 12.6155)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30815B #813056
analogous
#308133 #30815B #307F81
triadic
#30815B #5B3081 #815B30
tetradic
#30815B #333081 #813056 #7F8130
square
#30815B #333081 #813056 #7F8130
split-complementary
#30815B #81307F #813330
monochromatic
#0F281C #1F543C #30815B #41AE7A #66C699

Accessibility & contrast

On white

4.75
#30815B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#30815B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30815B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30815B#FFFFFF#000000##FFFFFF
##30815B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807859
Deuteranopia (green-blind)
#74705D
Tritanopia (blue-blind)
#058077
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30815b;
/* rgb */ color: rgb(48, 129, 91);
/* oklch */ color: oklch(54.3% 0.099 159.8);
Tailwind
colors: {
  custom: {
    50: '#71a689',
    500: '#30815b',
    950: '#000000',
  },
}
SCSS
$custom: #30815b;
$custom-light: #71a689;
$custom-dark: #000000;
JSON
{
  "hex": "#30815b",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 91
  },
  "hsl": {
    "h": 151.852,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.09936,
    "h": 159.8
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#30815B
secondary
#AD6084
accent
#5290D5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #30815B

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

Preview Lab → · Contrast checker → · Palette generator →

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