#304841#304841

#304841 is a dark, muted teal. Relative luminance 0.056; OKLCH L 38.0% C 0.032 H 174.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#304841
RGBrgb(48, 72, 65)
HSLhsl(163, 20%, 24%)
HSVhsv(163, 33%, 28%)
CMYKcmyk(33.3%, 0%, 9.7%, 71.8%)
CIE-LABlab(28.50, -11.05, 1.24)
CIE-LCHlch(28.50, 11.12, 173.60°)
OKLaboklab(37.95% -0.0319 0.0031)
OKLCHoklch(37.95% 0.032 174.4)
XYZxyz(4.4901, 5.6445, 5.8529)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304841 #483037
analogous
#304835 #304841 #304348
triadic
#304841 #413048 #484130
tetradic
#304841 #353048 #483037 #434830
square
#304841 #353048 #483037 #434830
split-complementary
#304841 #483043 #483530
monochromatic
#0C1211 #182320 #304841 #486D62 #619183

Accessibility & contrast

On white

9.86
#304841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#304841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304841
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304841#FFFFFF#000000##FFFFFF
##3048411.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464541
Deuteranopia (green-blind)
#424241
Tritanopia (blue-blind)
#2A4946
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304841;
/* rgb */ color: rgb(48, 72, 65);
/* oklch */ color: oklch(38.0% 0.032 174.4);
Tailwind
colors: {
  custom: {
    50: '#697b75',
    500: '#304841',
    950: '#000000',
  },
}
SCSS
$custom: #304841;
$custom-light: #697b75;
$custom-dark: #000000;
JSON
{
  "hex": "#304841",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 65
  },
  "hsl": {
    "h": 162.5,
    "s": 20,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37954,
    "c": 0.03205,
    "h": 174.4
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#304841
secondary
#795B64
accent
#6B83BD
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #304841

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

Preview Lab → · Contrast checker → · Palette generator →

#304841 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva