#305C4E#305C4E

#305C4E is a dark, muted teal. Relative luminance 0.088; OKLCH L 43.8% C 0.055 H 171.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#305C4E
RGBrgb(48, 92, 78)
HSLhsl(161, 31%, 27%)
HSVhsv(161, 48%, 36%)
CMYKcmyk(47.8%, 0%, 15.2%, 63.9%)
CIE-LABlab(35.66, -19.03, 3.35)
CIE-LCHlch(35.66, 19.33, 170.03°)
OKLaboklab(43.85% -0.054 0.0086)
OKLCHoklch(43.85% 0.055 171)
XYZxyz(6.4207, 8.8322, 8.5727)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C4E #5C303E
analogous
#305C38 #305C4E #30545C
triadic
#305C4E #4E305C #5C4E30
tetradic
#305C4E #38305C #5C303E #545C30
square
#305C4E #38305C #5C303E #545C30
split-complementary
#305C4E #5C3054 #5C3830
monochromatic
#0A1411 #1B342C #305C4E #458470 #5CAA91

Accessibility & contrast

On white

7.59
#305C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C4E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C4E#FFFFFF#000000##FFFFFF
##305C4E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A574D
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#215D58
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305c4e;
/* rgb */ color: rgb(48, 92, 78);
/* oklch */ color: oklch(43.8% 0.055 171.0);
Tailwind
colors: {
  custom: {
    50: '#6b8a7f',
    500: '#305c4e',
    950: '#000000',
  },
}
SCSS
$custom: #305c4e;
$custom-light: #6b8a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#305c4e",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 78
  },
  "hsl": {
    "h": 160.909,
    "s": 31.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.05468,
    "h": 171
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#305C4E
secondary
#8D5A6B
accent
#6081C8
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #305C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#305C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva