#305752#305752

#305752 is a dark, muted teal. Relative luminance 0.081; OKLCH L 42.6% C 0.045 H 185.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#305752
RGBrgb(48, 87, 82)
HSLhsl(172, 29%, 26%)
HSVhsv(172, 45%, 34%)
CMYKcmyk(44.8%, 0%, 5.7%, 65.9%)
CIE-LABlab(34.09, -15.20, -1.43)
CIE-LCHlch(34.09, 15.26, 185.37°)
OKLaboklab(42.62% -0.0451 -0.0041)
OKLCHoklch(42.62% 0.045 185.2)
XYZxyz(6.1495, 8.0535, 9.2114)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305752 #573035
analogous
#30573F #305752 #304957
triadic
#305752 #523057 #575230
tetradic
#305752 #3F3057 #573035 #495730
square
#305752 #3F3057 #573035 #495730
split-complementary
#305752 #573049 #573F30
monochromatic
#0B1413 #1A302D #305752 #467E77 #5CA59C

Accessibility & contrast

On white

8.04
#305752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#305752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305752
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305752#FFFFFF#000000##FFFFFF
##3057521.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535352
Deuteranopia (green-blind)
#4D4E53
Tritanopia (blue-blind)
#205955
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305752;
/* rgb */ color: rgb(48, 87, 82);
/* oklch */ color: oklch(42.6% 0.045 185.2);
Tailwind
colors: {
  custom: {
    50: '#6b8682',
    500: '#305752',
    950: '#000000',
  },
}
SCSS
$custom: #305752;
$custom-light: #6b8682;
$custom-dark: #000000;
JSON
{
  "hex": "#305752",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 82
  },
  "hsl": {
    "h": 172.308,
    "s": 28.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.04533,
    "h": 185.2
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#305752
secondary
#885A60
accent
#636FC5
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #305752

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

Preview Lab → · Contrast checker → · Palette generator →

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