#305F4E#305F4E

#305F4E is a dark, muted teal. Relative luminance 0.094; OKLCH L 44.7% C 0.059 H 168.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#305F4E
RGBrgb(48, 95, 78)
HSLhsl(158, 33%, 28%)
HSVhsv(158, 49%, 37%)
CMYKcmyk(49.5%, 0%, 17.9%, 62.7%)
CIE-LABlab(36.67, -20.64, 4.80)
CIE-LCHlch(36.67, 21.19, 166.90°)
OKLaboklab(44.67% -0.058 0.0123)
OKLCHoklch(44.67% 0.059 168)
XYZxyz(6.6857, 9.3623, 8.6611)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F4E #5F3041
analogous
#305F36 #305F4E #30585F
triadic
#305F4E #4E305F #5F4E30
tetradic
#305F4E #36305F #5F3041 #585F30
square
#305F4E #36305F #5F3041 #585F30
split-complementary
#305F4E #5F3058 #5F3630
monochromatic
#0A1411 #1B362D #305F4E #45886F #5DAD90

Accessibility & contrast

On white

7.31
#305F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#305F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F4E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F4E#FFFFFF#000000##FFFFFF
##305F4E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594D
Deuteranopia (green-blind)
#56544F
Tritanopia (blue-blind)
#205F5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305f4e;
/* rgb */ color: rgb(48, 95, 78);
/* oklch */ color: oklch(44.7% 0.059 168.0);
Tailwind
colors: {
  custom: {
    50: '#6c8c7f',
    500: '#305f4e',
    950: '#000000',
  },
}
SCSS
$custom: #305f4e;
$custom-light: #6c8c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#305f4e",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 158.298,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.05932,
    "h": 168
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#305F4E
secondary
#905A6E
accent
#5F85C9
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #305F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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