#305E5F#305E5F

#305E5F is a dark, muted teal. Relative luminance 0.095; OKLCH L 45.0% C 0.051 H 197.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#305E5F
RGBrgb(48, 94, 95)
HSLhsl(181, 33%, 28%)
HSVhsv(181, 49%, 37%)
CMYKcmyk(49.5%, 1.1%, 0%, 62.7%)
CIE-LABlab(36.85, -15.42, -5.47)
CIE-LCHlch(36.85, 16.36, 199.52°)
OKLaboklab(44.98% -0.0482 -0.0151)
OKLCHoklch(44.98% 0.051 197.3)
XYZxyz(7.2864, 9.4594, 12.2661)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E5F #5F3130
analogous
#305F48 #305E5F #30465F
triadic
#305E5F #5F305E #5E5F30
tetradic
#305E5F #48305F #5F3130 #465F30
square
#305E5F #48305F #5F3130 #465F30
split-complementary
#305E5F #5F3046 #5F4830
monochromatic
#0A1414 #1B3636 #305E5F #458688 #5DABAD

Accessibility & contrast

On white

7.26
#305E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#305E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E5F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E5F#FFFFFF#000000##FFFFFF
##305E5F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5F
Deuteranopia (green-blind)
#50545F
Tritanopia (blue-blind)
#16615E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305e5f;
/* rgb */ color: rgb(48, 94, 95);
/* oklch */ color: oklch(45.0% 0.051 197.3);
Tailwind
colors: {
  custom: {
    50: '#6c8b8c',
    500: '#305e5f',
    950: '#000000',
  },
}
SCSS
$custom: #305e5f;
$custom-light: #6c8b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#305e5f",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 95
  },
  "hsl": {
    "h": 181.277,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.05054,
    "h": 197.3
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#305E5F
secondary
#905C5A
accent
#615FC9
background
#F6F8F8
surface
#ECF0F0
border
#C7CBCB
text
#070C0C
muted
#7A7D7D

Preview Lab

Preview with #305E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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