#30815E#30815E

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

Color values

HEX#30815E
RGBrgb(48, 129, 94)
HSLhsl(154, 46%, 35%)
HSVhsv(154, 63%, 51%)
CMYKcmyk(62.8%, 0%, 27.1%, 49.4%)
CIE-LABlab(48.43, -33.41, 11.83)
CIE-LCHlch(48.43, 35.44, 160.50°)
OKLaboklab(54.37% -0.0918 0.0302)
OKLCHoklch(54.37% 0.097 161.8)
XYZxyz(11.0885, 17.1359, 13.3107)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30815E #813053
analogous
#308135 #30815E #307C81
triadic
#30815E #5E3081 #815E30
tetradic
#30815E #353081 #813053 #7C8130
square
#30815E #353081 #813053 #7C8130
split-complementary
#30815E #81307C #813530
monochromatic
#0F281D #1F543D #30815E #41AE7F #66C69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30815E#FFFFFF#000000##FFFFFF
##30815E1.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)
#7F785C
Deuteranopia (green-blind)
#747060
Tritanopia (blue-blind)
#018177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #30815e;
/* rgb */ color: rgb(48, 129, 94);
/* oklch */ color: oklch(54.4% 0.097 161.8);
Tailwind
colors: {
  custom: {
    50: '#71a68b',
    500: '#30815e',
    950: '#000000',
  },
}
SCSS
$custom: #30815e;
$custom-light: #71a68b;
$custom-dark: #000000;
JSON
{
  "hex": "#30815e",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 94
  },
  "hsl": {
    "h": 154.074,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.09661,
    "h": 161.8
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#30815E
secondary
#AD6081
accent
#528BD5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #30815E

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

Preview Lab → · Contrast checker → · Palette generator →

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